Skip to content

Instantly share code, notes, and snippets.

@eduadiez
Last active January 16, 2018 09:52
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 eduadiez/83846a0a90904298b8e524ba87907cd2 to your computer and use it in GitHub Desktop.
Save eduadiez/83846a0a90904298b8e524ba87907cd2 to your computer and use it in GitHub Desktop.
# 1.- Download genesis
curl -O http://www.lethon.tk:9074/lethon.json
# 2.- Initialize
$HOME/Library/Application\ Support/Ethereum\ Wallet/binaries/Geth/unpacked/geth --datadir=$HOME/.lethon init lethon.json
# 3.- Create account
$HOME/Library/Application\ Support/Ethereum\ Wallet/binaries/Geth/unpacked/geth --datadir=$HOME/.lethon account new
# 4.- Init Ethereum Wallet
/Applications/Ethereum\ Wallet.app/Contents/MacOS/Ethereum\ Wallet --rpc $HOME/.lethon/geth.ipc --node-networkid=33 --syncmode=full --network=privatenet --node-datadir=$HOME/.lethon --node-ethstats='yournode:nohtel@stats.lethon.tk:9074' --node-bootnodes=enode://fd09b62a40820039e50e4ec116787060abf553341404eb9ddc1f1a1c20948de75e92a04b07ab3935e27fd68b87e69fd509361749eb122669d09f62aaa02ac5ec@154.58.5.124:33333 &
# 5.- Mining
# Start
$HOME/Library/Application\ Support/Ethereum\ Wallet/binaries/Geth/unpacked/geth --exec "miner.start(1)" attach $HOME/.lethon/geth.ipc
# Stop
$HOME/Library/Application\ Support/Ethereum\ Wallet/binaries/Geth/unpacked/geth --exec "miner.stop()" attach $HOME/.lethon/geth.ipc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment