Created
August 1, 2017 22:36
-
-
Save mcveat/4e55372d1568063d6902e72a4c1eb29d to your computer and use it in GitHub Desktop.
create-accounts.js
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
bob = personal.newAccount("bobs password") | |
john = personal.newAccount("johns password") | |
miner.setEtherbase(bob) | |
miner.start(1) | |
admin.sleepBlocks(2) // halts script execution until 2 blocks are mined | |
miner.stop() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment