Skip to content

Instantly share code, notes, and snippets.

@capsulecorplab
Last active February 17, 2018 06: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 capsulecorplab/915a482f856e9a56a3ce2656ada72485 to your computer and use it in GitHub Desktop.
Save capsulecorplab/915a482f856e9a56a3ce2656ada72485 to your computer and use it in GitHub Desktop.
Run using `sh startnode.sh` or make executable using `chmod +x startnode.sh` and run using ./startnode.sh
#!/bin/bash
# Bash command for running geth
geth --networkid 4224 --mine --minerthreads 2 --datadir "." --nodiscover --rpc --rpcport "8545" --port "30303" --rpccorsdomain "*" --nat "any" --rpcapi eth,web3,personal,net --unlock 0 --password ~/ChainSkills/private/password.sec --ipcpath "~/.ethereum/geth.ipc"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment