I am trying to create a private ethereum network. I have followed the steps of initialization after creating genesis block:
{
"config": {
"chainId": 12345,
"homesteadBlock": 0,
"eip155Block": 0,
"eip158Block": 0,
"byzantiumBlock": 0
},
"difficulty": "400",
"gasLimit": "2000000",
"alloc": {
"38dsid27167d208c66584ece7f09d8bc8f8223nd": {
"balance": "100000000000000000000000"
}
}
}
geth --datadir ./myDataDir init ./myGenesis.json
and started node:
geth --datadir ./myDataDir --networkid 1114
Now when I type this command to see ethers:
eth.getBalance(eth.coinbase)
It shows 0 ethers even if I have allocated ethers in genesis block.