From 228367a18f0bbc94d9cb75f7a3bc6819851e4c8f Mon Sep 17 00:00:00 2001 From: Adrian Brink Date: Thu, 7 Jun 2018 18:49:01 -0700 Subject: [PATCH] Update README.md --- README.md | 32 +++++++------------------------- 1 file changed, 7 insertions(+), 25 deletions(-) diff --git a/README.md b/README.md index dbc24fb..762b415 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ Now we can fetch the correct versions of each dependency by running: ``` mkdir -p $GOPATH/src/github.com/cosmos/cosmos-sdk git clone https://github.com/cosmos/cosmos-sdk.git -git checkout v0.17.5 +git checkout v0.18.0-rc0 make get_tools // run $ make update_tools if already installed make get_vendor_deps make install @@ -67,7 +67,7 @@ gaiad version You should see: ``` -0.17.5-cf46be22 +0.18.0-dev-af15f89 ``` And also: @@ -79,37 +79,19 @@ gaiacli version You should see: ``` -0.17.5-cf46be22 +0.18.0-dev-af15f89 ``` -## Genesis Setup +## Full Node 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. - -Get the genesis transactions +Clone the testnet repo. ``` git clone https://github.com/cosmos/testnets mkdir -p $HOME/.gaiad/config -cp -a testnets/gaia-5001/. $HOME/.gaiad/config/gentx +cp -a testnets/gaia-6001/genesis.json $HOME/.gaiad/config/genesis.json gaiad unsafe_reset_all -gaiad init --gen-txs -o --chain-id=gaia-5001 - ``` Lastly change the `moniker` string in the`config.toml`to identify your node. @@ -159,7 +141,7 @@ gaiacli keys list The validator pubkey from your node should be the same as the one printed with the command: ``` -gaiad show_validator +gaiad tendermint show_validator ``` Finally, save your address and pubkey into a variable to use them afterwards.