Updating docs
This commit is contained in:
parent
a29564593d
commit
8960a331c1
|
@ -11,8 +11,14 @@ module.exports = {
|
|||
"port": 8545
|
||||
},
|
||||
"blockchain": {
|
||||
// DO NOT USE THIS ACCOUNT ON MAINNET - IT IS ONLY FOR DEV PURPOSES
|
||||
// For dev chain, address: 0x5b9b5db9cde96fda2e2c88e83f1b833f189e01f4 has this privKey
|
||||
privateKey: "b2ab40d549e67ba67f278781fec03b3a90515ad4d0c898a6326dd958de1e46fa" //
|
||||
|
||||
|
||||
// privateKey: "your_private_key",
|
||||
|
||||
|
||||
// privateKeyFile: "path/to/file"
|
||||
|
||||
// mnemonic: "12 word mnemonic",
|
||||
|
|
|
@ -93,7 +93,18 @@ mv config.testnet.js config.js
|
|||
2. A node that wants to act as a relayer only needs to have a geth node with whisper enabled, and an account with ether to process the transactions. This account needs to be configured in `./config/config.js`. Edit this file and set the account:
|
||||
```
|
||||
"blockchain": {
|
||||
"account": "your account here"
|
||||
// Use one of these options:
|
||||
|
||||
// Option1 ===========================
|
||||
// privateKey: "your_private_key",
|
||||
|
||||
// Option2 ===========================
|
||||
// privateKeyFile: "path/to/file"
|
||||
|
||||
// Option3 ===========================
|
||||
// mnemonic: "12 word mnemonic",
|
||||
// addressIndex: "0", // Optionnal. The index to start getting the address
|
||||
// hdpath: "m/44'/60'/0'/0/" // Optionnal. HD derivation path
|
||||
},
|
||||
```
|
||||
|
||||
|
|
|
@ -7,7 +7,8 @@
|
|||
"nonce": "0x0000000000000042",
|
||||
"difficulty": "0x0",
|
||||
"alloc": {
|
||||
"0x3333333333333333333333333333333333333333": {"balance": "15000000000000000000"}
|
||||
"0x3333333333333333333333333333333333333333": {"balance": "15000000000000000000"},
|
||||
"0x5B9B5db9Cde96FdA2E2C88e83f1B833f189E01F4": {"balance": "1500000000000000000"}
|
||||
},
|
||||
"mixhash": "0x0000000000000000000000000000000000000000000000000000000000000000",
|
||||
"coinbase": "0x3333333333333333333333333333333333333333",
|
||||
|
|
Loading…
Reference in New Issue