Will run 3 nodes:
- Bootstrap node - used to sync date between nodes
- RPC node - node that exprots RPC interface (303)
- Mining node - node that does mining on order to execute Smart Contracts (PoW) (304)
- Start bootnode
./bootnode.sh
- Copy address starting with
enode://
and paste introbase_node.sh
. Write127.0.0.1
(or local node IP) instead of[..]
- Initing
./init_node.sh run/nodes/node30303
./init_node.sh run/nodes/node30304
- Creatring 303 node account. Using
sol1234
as a pass
./create_account.sh run/nodes/node30303
- Store created account hash and paste into
node303.sh
. Add0x
before account hash
- Start nodes
./node303.sh
./node304.sh
- Run mining on 304 node:
You may set account to receive Eth with
miner.setEtherbase('0xACCOUNT_NUMBER_FROM_STEP_2')
, althouth it's not required
miner.start(1)
- Within geth console
eth.sendTransaction({from:eth.coinbase, to: "0x3729277d8157a3acfbfbccb94f19873ec279c2d6", value: web3.toWei(1, "ether")})