Skip to content

Instantly share code, notes, and snippets.

@libracoder
Last active November 24, 2017 14:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save libracoder/edf3d5f3d42dbbd65190526f626ff77c to your computer and use it in GitHub Desktop.
Save libracoder/edf3d5f3d42dbbd65190526f626ff77c to your computer and use it in GitHub Desktop.
Mining Etherum
///Genesis.json
{
"config": {
"chainId": 15,
"homesteadBlock": 0,
"eip155Block": 0,
"eip158Block": 0
},
"difficulty": "0x400",
"gasLimit": "0x2100000",
"alloc": {
"93f932b3b87e08cdaf0877994e44feb4c93e81aa":
{ "balance": "0x1337000000000000000000" }
}
}
geth init genesis.json
geth --networkid=5 console
miner.start(1)
rm -rf ~/.ethereum/geth
sudo rm -rf /usr/local/bin/mist
sudo rm -rf /opt/Mist
sudo rm -rf /usr/local/bin/ethereumwallet
rm -rf ~/.config/Ethereum\ Wallet/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment