-
Script to start a private local Ethereum Node
-
Ensure that
gethis installed -
Difficulty can be adjusted in genesis.json before running
init.sh. This affects CPU consumption -
Ether can be pre-allocated by adding addresses with ethers to
allocingenesis.json.For example :
"alloc": {
"ZC7d7A1747C0Eewc107dg5B7522v5F31509b5Cfc": {
"balance": "0x1000000000000000000000000"
}
}- Run this for the first time
./init.sh- Run this to start mining
./run.sh [RPC_PORT]-
Port number is an optional cmd line arg, default is
8545 -
Run this to delete the blockcahin
./cleanup.sh