A subchain is a blockchain driven by commands received from a rootchain.
This is a fun project that demonstrates how stateless smart contracts can be used to drive subchains.
Instead of storing contract state on a rootchain you store a set of commands in the inputs of rootchain transactions. Commands can include smart contract deployments or other transactions that can be passed down to a subchain for execution.
Requirements: Node v8.11.2
npm install
npm run build
You can sync an example ropsten subchain with the following:
node dist/cli.js -r https://ropsten.infura.io/ -m 0xc9ec7da86f0bde73345ba04df4613b0b70612a54