This directory contains an example on how to run a blockchain.
The example does these things:
- Instantiates a VM and a Blockchain
- Creates the accounts from
./test-data.json'spre - Creates a genesis block
- Puts the blocks from
./test-data.json'sblocksinto the Blockchain - Runs the Blockchain on the VM.
- Run
npm installin the root of this project
- Run
npm run build:distin the root of this project - Run
npm run examplein this directory