Initial commit: add .gitignore and README
This commit is contained in:
8
config/ethsigner/createKey.js
Normal file
8
config/ethsigner/createKey.js
Normal file
@@ -0,0 +1,8 @@
|
||||
const Web3 = require('web3')
|
||||
|
||||
// Web3 initialization (should point to the JSON-RPC endpoint)
|
||||
const web3 = new Web3(new Web3.providers.HttpProvider('http://127.0.0.1:8545'))
|
||||
|
||||
var V3KeyStore = web3.eth.accounts.encrypt("797bbe0373132e8c5483515b68ecbb6d3581b56f0205b653ad2b30a559e83891", "Password1");
|
||||
console.log(JSON.stringify(V3KeyStore));
|
||||
process.exit();
|
||||
1
config/ethsigner/key
Normal file
1
config/ethsigner/key
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"id":"0e3d044a-26b4-429f-a5d3-def4a62a77ec","address":"9b790656b9ec0db1936ed84b3bea605873558198","crypto":{"ciphertext":"4d34be50618c36fb57349a8a7dc7b0c46f7c6883c817087863ff4f1fbc957582","cipherparams":{"iv":"723a6a815dcaf255ebd1da1bfb14e1b8"},"cipher":"aes-128-ctr","kdf":"scrypt","kdfparams":{"dklen":32,"salt":"3d04a3f225d3d5874388484730a30d45627399d69721a7c7fb653f8e0e90a67b","n":8192,"r":8,"p":1},"mac":"5c04e705196b35abace4da61700921d7762dba782ed68a4cd9917dd75badaacb"}}
|
||||
1
config/ethsigner/password
Normal file
1
config/ethsigner/password
Normal file
@@ -0,0 +1 @@
|
||||
Password1
|
||||
Reference in New Issue
Block a user