Last active
March 9, 2017 13:58
-
-
Save hsylife/0061d4ad684dea4d32772423d4da36de to your computer and use it in GitHub Desktop.
Ethereumのプライベートネットワークで送金する体験 ref: http://qiita.com/hsylife/items/5668dca6cda778efe6bd
This file contains hidden or 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
> miner.setEtherbase(eth.accounts[0]) | |
> miner.start() |
This file contains hidden or 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
> miner.stop() |
This file contains hidden or 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.getBalance(eth.accounts[0]) | |
> personal.getBalance(eth.accounts[1]) |
This file contains hidden or 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.unlockAccount(eth.accounts[0]) |
This file contains hidden or 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.sendTransaction({from: eth.accounts[0], to: eth.accounts[1], value: web3.toWei(3, "ether")}) |
This file contains hidden or 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
> miner.start() | |
> miner.stop() |
This file contains hidden or 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.getBalance(eth.accounts[0]) | |
> personal.getBalance(eth.accounts[1]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment