From b7898a1d3b21050f5df421b2a1b9243468e9342c Mon Sep 17 00:00:00 2001 From: rhuairahrighairigh Date: Mon, 3 Sep 2018 21:51:41 -0400 Subject: [PATCH] add new testnet --- README.md | 10 ++-- testnets/kava-test-2/genesis.json | 99 +++++++++++++++++++++++++++++++ 2 files changed, 104 insertions(+), 5 deletions(-) create mode 100644 testnets/kava-test-2/genesis.json diff --git a/README.md b/README.md index b876c974..89c8c260 100644 --- a/README.md +++ b/README.md @@ -79,15 +79,15 @@ TODO users need to set up keys first? ## Run a Full Node - kvd init --name --chain-id kava-test-1 + kvd init --name --chain-id kava-test-2 This will generate config and keys in `$HOME/.kvd` and `$HOME/.kvcli`. The default password is 'password'. > Note: Make sure `GOBIN` is set and added to your path if you want to be able to run installed go programs from any folder. -Copy the testnet genesis file (from https://raw.githubusercontent.com/Kava-Labs/kava/master/testnets/kava-test-1/genesis.json) into `$HOME/.kvd/config/`, replacing the existing one. +Copy the testnet genesis file (from https://raw.githubusercontent.com/Kava-Labs/kava/master/testnets/kava-test-2/genesis.json) into `$HOME/.kvd/config/`, replacing the existing one. -Add the kava node address, `0dfd43e440e34fc193ddee4ae99547184f3cb5d1@validator.connector.kava.io:26656`, to `seeds` in `$HOME/.kvd/config/config.toml` +Add the kava node address, `5c2bc5a95b014e4b2897791565398ee6bfd0a04a@validator.connector.kava.io:26656`, to `seeds` in `$HOME/.kvd/config/config.toml` Start your full node @@ -112,7 +112,7 @@ Then, your full running in the background or separate window, run: --pubkey \ --address-validator \ --moniker "" \ - --chain-id kava-test-1 \ + --chain-id kava-test-2 \ --from > Note You'll need to type in the default password "password" @@ -124,6 +124,6 @@ In order to stop validating, first remove yourself as validator, then you can st kvcli stake unbond begin \ --address-delegator \ --address-validator \ - --chain-id kava-test-1 \ + --chain-id kava-test-2 \ --shares-percent 1 \ --from diff --git a/testnets/kava-test-2/genesis.json b/testnets/kava-test-2/genesis.json new file mode 100644 index 00000000..17e0919f --- /dev/null +++ b/testnets/kava-test-2/genesis.json @@ -0,0 +1,99 @@ +{ + "genesis_time": "2018-09-04T01:25:04.497806902Z", + "chain_id": "kava-test-2", + "consensus_params": { + "block_size_params": { + "max_bytes": "22020096", + "max_txs": "10000", + "max_gas": "-1" + }, + "tx_size_params": { + "max_bytes": "10240", + "max_gas": "-1" + }, + "block_gossip_params": { + "block_part_size_bytes": "65536" + }, + "evidence_params": { + "max_age": "100000" + } + }, + "validators": [ + { + "pub_key": { + "type": "tendermint/PubKeyEd25519", + "value": "kcaCf2NcjO5I+jYTOnTsPMxXvO5m/c6HEUBKwYlLKFo=" + }, + "power": "1000", + "name": "" + } + ], + "app_hash": "", + "app_state": { + "accounts": [ + { + "address": "cosmosaccaddr1f6jrk3rgt9e647mjkeqqvq0yhl7wnntm5r6tyk", + "coins": [ + { + "denom": "KVA", + "amount": "99000" + } + ] + } + ], + "stake": { + "pool": { + "loose_tokens": "100000", + "bonded_tokens": "0", + "inflation_last_time": "0", + "inflation": "7/100", + "date_last_commission_reset": "0", + "prev_bonded_shares": "0" + }, + "params": { + "inflation_rate_change": "13/100", + "inflation_max": "1/5", + "inflation_min": "7/100", + "goal_bonded": "67/100", + "unbonding_time": "259200", + "max_validators": 100, + "bond_denom": "KVA" + }, + "validators": [ + { + "owner": "cosmosaccaddr1f6jrk3rgt9e647mjkeqqvq0yhl7wnntm5r6tyk", + "pub_key": { + "type": "tendermint/PubKeyEd25519", + "value": "kcaCf2NcjO5I+jYTOnTsPMxXvO5m/c6HEUBKwYlLKFo=" + }, + "revoked": false, + "status": 0, + "tokens": "1000", + "delegator_shares": "1000", + "description": { + "moniker": "kava-validator", + "identity": "", + "website": "", + "details": "" + }, + "bond_height": "0", + "bond_intra_tx_counter": 0, + "proposer_reward_pool": [], + "commission": "0", + "commission_max": "0", + "commission_change_rate": "0", + "commission_change_today": "0", + "prev_bonded_tokens": "0" + } + ], + "bonds": [ + { + "delegator_addr": "cosmosaccaddr1f6jrk3rgt9e647mjkeqqvq0yhl7wnntm5r6tyk", + "validator_addr": "cosmosaccaddr1f6jrk3rgt9e647mjkeqqvq0yhl7wnntm5r6tyk", + "shares": "1000", + "height": "0" + } + ] + } + } +} \ No newline at end of file