Skip to content

musereum/musereum-initial-keys

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Soundchain PoA initial keys generation script

Install node.js

Install nodejs

Generation of new initial keys

  • Install required packages npm install
  • If run on your local machine, edit config.json and set Ethereum.live.rpc property to "http://$BOOTNODE_IP:8540". If run from bootnode itself, skip this step.
  • node ./generateInitialKey.js
  • Send 2 transactions in Parity http://$BOOTNODE_IP:8180/ with contract owner

(i) addition of initial key to Oracles contract

(ii) transfer of 0.1Eth to added initial key

Expected result:

Initial key generated to ./initialKeysDemo/489d0379c2cc40bffd48a9c99e5f65fd7ddb0ed5.json
Password for initial key: goW2klc1
0x489d0379c2cc40bffd48a9c99e5f65fd7ddb0ed5
Wait tx to add initial key to be mined...
Initial key 0x489d0379c2cc40bffd48a9c99e5f65fd7ddb0ed5 added to contract
Wait tx to send Eth to initial key to be mined...
0.01 Eth sent to initial key

About

Script to generate initial keys

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%