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
'sblocks
into the Blockchain - Runs the Blockchain on the VM.
- Run
npm install
in the root of this project
- Run
npm run build:dist
in the root of this project - Run
npm run example
in this directory