Blueprint to create a Marcov Chain Monte Carlo simulation using Mamba and Julia with simulation actions directly impacting Solidity contracts on an Ethereum Sidechain.
This approach allows for system wide integration testing to find faults in complex blockchain applications based on several Solidity contracts. It provides a foundation for thoroughly future proofing autonomus systems like market makers and independent SIPS systems.
By default a 4 node sidechain is created across 4 peers. This can be modified during blueprint deployment via parameters specified in the wizard.
The same sidechain containers are used to parallelize the simulation. Julia is installed on them and the nodes are made available to a master Julia node as worker nodes.
This container has Jupyter installed on it to provide a interactive notebook for data scientists.
This is a MATE based desktop container that Subutai users can remote desktop to for developing Solidity contracts and deploying them to the blockchain to be simulation tested for future proofing systems using Mamba and Julia.
npm install --save
truffle migrate --network development --reset
- Compile contracts with the command
truffle compile
- Run tests
npm run test
-
Change
production
section in truffle.js -
Deploy contracts to testnet, with command:
truffle migrate --network production --reset
- Run application
npm run start