Skip to content

Instantly share code, notes, and snippets.

@tinybike
Last active September 22, 2017 18:32
Show Gist options
  • Save tinybike/170cacffecc570bf2105e1ffbd8e442a to your computer and use it in GitHub Desktop.
Save tinybike/170cacffecc570bf2105e1ffbd8e442a to your computer and use it in GitHub Desktop.
# /parity/parity daemon /parity/parity.pid --chain dev --no-ui --no-dapps --no-discovery --jsonrpc-apis web3,eth,net,personal,parity,parity_set,traces,rpc,parity_accounts \
&& while ! curl --silent --show-error -H "Content-Type: application/json" -X POST --data '{"jsonrpc":"2.0","method":"parity_newAccountFromPhrase","params":["",""],"id": 1}' localhost:8545; do sleep 0.1; done \
&& kill -s TERM `cat /parity/parity.pid` \
&& while kill -0 `cat /parity/parity.pid`; do sleep 0.01; done \
&& rm /parity/parity.pid \
&& echo "" > /parity/password
/parity/parity \
--chain dev \
--gasprice 2 \
--no-discovery \
--force-ui --ui-no-validation --ui-interface 0.0.0.0 \
--jsonrpc-interface all --jsonrpc-cors "*" --jsonrpc-hosts all --jsonrpc-apis web3,eth,net,personal,parity,parity_set,traces,rpc,parity_accounts \
--unlock 0x00a329c0648769a73afac7f9381e08fb43dbea72 --password /parity/password
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment