Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 580 Bytes

README.md

File metadata and controls

31 lines (22 loc) · 580 Bytes

Start nodes

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