Bootnode
yarn bootnode
Setup node
yarn setup node1
yarn setup node2
Run node
yarn start node1 --mine
yarn start node2 --mine
How to setup a genesis block with deployed contract
# get block number then dump
./bin/geth dump `./bin/geth --exec "eth.blockNumber" attach http://localhost:8545` --datadir node2/
# remove a0 at first key
# after 94 is address value
Problems Returned error: replacement transaction underpriced => You have a pending transaction from your account in your Ethereum client