Minor README updates

This commit is contained in:
Christopher Goes 2018-04-26 22:03:25 +02:00
parent 0f28f6738a
commit f9b5d8c648
No known key found for this signature in database
GPG Key ID: E828D98232D328D3

View File

@ -1,7 +1,7 @@
Testnet Setup
=============
**Note:** THIS DOCUMENT IS OUT OF DATE
**Note:** This document is incomplete and may not be up-to-date with the state of the code.
See the `installation guide <../sdk/install.html>`__ for details on installation.
@ -27,7 +27,7 @@ Now let's actually create the genesis files for both nodes:
gaiad init --gen-txs --home=$HOME/.gaiad2 --chain-id=test-chain
**Note:** If you've already run these tests you may need to overwrite genesis using the ``-o`` flag
What we just did is copy the genesis transactions between each of the nodes so there is a common genesis transaction set; then we created both genesis files independantly from each home directory. Importantly both nodes have independantly created their ``genesis.json`` and ``config.toml`` files, which should be identical between nodes.
What we just did is copy the genesis transactions between each of the nodes so there is a common genesis transaction set; then we created both genesis files independently from each home directory. Importantly both nodes have independently created their ``genesis.json`` and ``config.toml`` files, which should be identical between nodes.
Great, now that we've initialized the chains, we can start both nodes in the background:
@ -52,7 +52,7 @@ Then, we try to transfer some ``fermion`` to another account:
gaiacli account <FOO-ADDR>
gaiacli account <BAR-ADDR>
gaiacli send --amount=10fermion --to=<BAR-ADDR> --name=foo --chain-id=test-chain --node=tcp://localhost:46657 --sequence=0
gaiacli send --amount=10fermion --to=<BAR-ADDR> --name=foo --chain-id=test-chain
**Note:** We need to be careful with the ``chain-id`` and ``sequence``
@ -72,7 +72,7 @@ Finally, to relinquish all your power, unbond some coins. You should see your Vo
::
gaiacli unbond --sequence=1 --chain-id=<chain-id> --name=test
gaiacli unbond --chain-id=<chain-id> --name=test
That's it!