In the previous chapter, we discussed Ethereum architecture, ecosystem, and decentralized applications. We also described development tools such as MetaMask, Remix, Truffle, and Geth. In this chapter, we are going to learn detailed Solidity programming skills for smart contract and decentralized application development.
In previous chapters, we went through the technical aspects of smart contract coding, development, and deployment as well as blockchain security and scalability. In this chapter, we will discuss how to fund a project from both the business and technical aspects of smart contracts and tokens.
The four components of blockchain that working together create its enormous potential to alleviate economic inefficiencies in our current system are distributed ledgers, privacy preservation, algorithms for distributed systems consensus, and smart contracts.
Since the mid-1960s, technology innovations such as relational databases, enterprise resource planning systems, the internet and digitization have contributed to improving business productivity and enabling growth. This chapter describes those aspects of a business that have not yet been significantly impacted by existing technology because these are the areas that blockchain has the potential to impact.
For many applications, it is interesting to compute the mean of a given function with respect to the invariant law of the diffusion, i.e. the ergodic limit. To evaluate these mean values, one often has to integrate a system over comparatively long time intervals. Geometric integrators considered in this chapter demonstrate computational superiority over long time intervals in comparison with standard schemes for SDEs.In this chapter specific methods for two important classes of stochastic systems are constructed: stochastic Hamiltonian systems and Langevin-type equations. Symplectic methods for stochastic Hamiltonian systems proposed in the first part of this chapter have significant advantages over standard schemes for SDEs. The second part of the chapter presents special numerical methods (we call them quasi-symplectic) for Langevin-type equations which have widespread occurrence in models from physics, chemistry, and biology and also in Bayesian statistics. They are a workhorse of molecular dynamics under constant temperature conditions. In the third part of the chapter geometric integration ideas are applied to such models as Langevin equations and stochastic gradient systems for rigid body dynamics and the stochastic Landau-Lifshitz equation. In the last section errors arising in computing ergodic limits are analysed. Both the ensemble averaging and time averaging approaches are considered.