Skip to content

Commit

Permalink
Merge PR cosmos#1817: Add some instructions for rolling your testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
zmanian authored and cwgoes committed Jul 25, 2018
1 parent 4b7f6ef commit 9d0f407
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions cmd/gaia/testnets/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -473,3 +473,23 @@ You can also check your balance at a given block by using the `--block` flag:
```bash
gaiacli account <account_cosmosaccaddr> --block=<block_height>
```

## Create your Own Testnet

To create your own testnet, first each validator will need to install gaiad and run gen-tx

```bash
gaiad init gen-tx --name <account_name>
```

This populations `$HOME/.gaiad/gen-tx/` with a json file.

Now these json files need to be aggregated together via Github, a Google form, pastebin or other methods.

Place all files on one computer in `$HOME/.gaiad/gen-tx/`

```bash
gaiad init --gen-txs -o --chain=<chain-name>
```

This will generate a `genesis.json` in `$HOME/.gaiad/config/genesis.json` distribute this file to all validators on your testnet.

0 comments on commit 9d0f407

Please sign in to comment.