Instructions for node setup

Create a 600GB storage optimized digital ocean droplet (32 GB ram, 4 CPU)


Create a user: adduser goku sudo visudo # goku ALL=(ALL) NOPASSWD:ALL su goku cd ~/ mkdir ~/.ssh cat > ~/.ssh/authorized_keys wget https://raw.githubusercontent.com/geohot/configuration/master/.tmux.conf git clone https://github.com/geohot/go-ethereum.git -b cheapeth cd go-ethereum sudo apt install make golang-go make geth ./build/bin/geth --syncmode fast --cache 26000 --rpc --rpcaddr 127.0.0.1 --rpcapi eth,web3,debug,net --rpcvhosts=* --networkid 777 --mine # for miner (in new window) # WARNING: CPU MINER NOT GOOD ANYMORE # USE GPU MINER geth attach > personal.newAccount() > miner.start() # for GPU miner (after chain is synced) # download ethminer ethminer -G -P http://127.0.0.1:8545/ # or if you have friend with chain you can use their ip # for RPC server, setup nginx sudo apt-get install nginx https://www.nginx.com/resources/wiki/start/topics/recipes/geth/ # for let's encrypt sudo apt-get install python3-certbot-nginx sudo certbot --nginx -d rpc.cheapeth.org # for reliable RPC endpoint while true; do echo "Restarting..."; sleep 1; ./build/bin/geth --syncmode fast --cache 26000 --rpc --rpcaddr 127.0.0.1 --rpcapi eth,web3,net --rpcvhosts=* --rpccorsdomain "*" --networkid 777; done