Last active
September 22, 2017 18:32
-
-
Save tinybike/170cacffecc570bf2105e1ffbd8e442a 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
# /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