Created
March 7, 2017 19:24
-
-
Save hsylife/7bbbaf05d5e9b888ae77f4c45a5a3900 to your computer and use it in GitHub Desktop.
Ethereumプライベートネットワークのアカウント作成まで ref: http://qiita.com/hsylife/items/4939a35a863ce38c7192
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
$ mkdir ${HOME}/sample_eth_pn |
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
{ | |
"nonce": "0x0000000000000042", | |
"mixhash": "0x0000000000000000000000000000000000000000000000000000000000000000", | |
"difficulty": "0x200", | |
"coinbase": "0x0000000000000000000000000000000000000000", | |
"timestamp": "0x00", | |
"parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000", | |
"gasLimit": "0xffffffff" | |
} |
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
$ geth --datadir ${HOME}/sample_eth_pn init ${HOME}/sample_eth_pn/genesis.json |
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
> personal.newAccount() |
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
> eth.accounts |
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
> exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment