Last active
December 13, 2019 16:44
-
-
Save austintgriffith/d1c20f5d1eeb67d108c890a1c33b2ae3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt install golang-go -y | |
chmod 0777 /home/nuc/*.log | |
sudo apt-get install -y build-essential | |
cd /home/nuc/go-ethereum; git pull > /home/nuc/pull.log; make geth > /home/nuc/make.log | |
/home/nuc/go-ethereum/build/bin/geth version > /home/nuc/geth.log 2>&1 | |
/home/nuc/go-ethereum/build/bin/geth --allow-insecure-unlock --cache=4096 --maxpeers=50 --rpc --rpcaddr "0.0.0.0" --rpccorsdomain "*" --rpcapi="db,eth,net,web3,personal,admin,debug,miner,txpool" >> /home/nuc/geth.log 2>&1 & | |
bash <(curl https://get.parity.io -Lk) | |
cd /home/nuc/;su - nuc -c 'parity --chain poa-chain-spec/spec.json --reserved-peers poa-chain-spec/bootnodes.txt --ports-shift=10 --jsonrpc-hosts=all --jsonrpc-interface=all --jsonrpc-cors=all --no-warp' >> /home/nuc/parity-xdai.log 2>&1 & | |
chmod 0777 /home/nuc/*.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment