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 git clone -b cheapeth cd go-ethereum sudo apt install make golang-go make geth ./build/bin/geth --syncmode fast --cache 26000 --rpc --rpcaddr --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 # or if you have friend with chain you can use their ip # for RPC server, setup nginx sudo apt-get install nginx # for let's encrypt sudo apt-get install python3-certbot-nginx sudo certbot --nginx -d # for reliable RPC endpoint while true; do echo "Restarting..."; sleep 1; ./build/bin/geth --syncmode fast --cache 26000 --rpc --rpcaddr --rpcapi eth,web3,net --rpcvhosts=* --rpccorsdomain "*" --networkid 777; done