This commit is contained in:
Ubuntu 2018-05-31 21:24:58 +00:00
commit f5d1751a0c
3 changed files with 52 additions and 0 deletions

View File

@ -84,6 +84,18 @@ You should see:
## Genesis Setup
### Making your own genesis transaction
Create your own genesis transactions
```
gaiad init gen-tx --name YOUR_NAME
```
Copy the JSON value under `gen_tx_file` into `YOUR_NAME.json` in the appropriate folder on this Github repository.
### Retrieving & combining genesis transactions
Genesis files are the starting point for the full-node to sync up with the network. In order to sync up with the correct version of the Testnet, be sure to choose the genesis file corresponding to the version of the Testnet you want to connect to.
Now that we have completed the basic SDK setup, we can start working on the genesis configuration for the chain we want to connect to.

20
internal-4/dev.json Normal file
View File

@ -0,0 +1,20 @@
{
"node_id": "29d778e6c6d6724d619c9bb2d513fb45cd9c3931",
"ip": "165.227.98.198",
"validator": {
"pub_key": {
"type": "AC26791624DE60",
"value": "UCSf74wMI4cbwki5yogF7jzR5IyYgIfjwzcK63rMfYY="
},
"power": 100,
"name": ""
},
"app_gen_tx": {
"name": "dev",
"address": "DD33E69ECA8013214DDE22AC3FB15A8DFB261F8A",
"pub_key": {
"type": "AC26791624DE60",
"value": "UCSf74wMI4cbwki5yogF7jzR5IyYgIfjwzcK63rMfYY="
}
}
}

20
internal-4/jlandrews.json Normal file
View File

@ -0,0 +1,20 @@
{
"node_id": "07d52b45fa3234233a59967fef94fc4e3bad994a",
"ip": "159.65.103.58",
"validator": {
"pub_key": {
"type": "AC26791624DE60",
"value": "KvTZlSyanepClmPFihzcjqC2f8l3JtTgloxB+9+8HYE="
},
"power": 100,
"name": ""
},
"app_gen_tx": {
"name": "jlandrews",
"address": "4002644AAA2FF30FFE360A220B4A536CDCE4E11D",
"pub_key": {
"type": "AC26791624DE60",
"value": "KvTZlSyanepClmPFihzcjqC2f8l3JtTgloxB+9+8HYE="
}
}
}