mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-26 08:15:19 +00:00
add new testnet
This commit is contained in:
parent
93267aca3c
commit
835b3ea6d8
@ -58,9 +58,9 @@ TODO users need to set up keys first?
|
|||||||
This will generate config and keys in `$HOME/.kvd` and `$HOME/.kvcli`.
|
This will generate config and keys in `$HOME/.kvd` and `$HOME/.kvcli`.
|
||||||
The default password is 'password'.
|
The default password is 'password'.
|
||||||
|
|
||||||
Copy the testnet genesis file (from https://raw.githubusercontent.com/Kava-Labs/kava/master/testnets/kava-test-0/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-1/genesis.json) into `$HOME/.kvd/config/`, replacing the existing one.
|
||||||
|
|
||||||
Add the kava node address (`4db23d731b4255c9624b283d0ca4e5b219e6cf67@validator.connector.kava.io:26656`) to `seeds` in `$HOME/.kvd/config/config.toml`
|
Add the kava node address (`0dfd43e440e34fc193ddee4ae99547184f3cb5d1@validator.connector.kava.io:26656`) to `seeds` in `$HOME/.kvd/config/config.toml`
|
||||||
|
|
||||||
Start your full node
|
Start your full node
|
||||||
|
|
||||||
@ -76,7 +76,7 @@ Ask @rhuairahrighairidh in the chat to give you some coins.
|
|||||||
Get your validator pubkey with `kvd tendermint show_validator`
|
Get your validator pubkey with `kvd tendermint show_validator`
|
||||||
|
|
||||||
kvcli stake create-validator \
|
kvcli stake create-validator \
|
||||||
--amount 100000KVA \
|
--amount 1000KVA \
|
||||||
--pubkey <you validator pubkey from above> \
|
--pubkey <you validator pubkey from above> \
|
||||||
--address-validator <your address from above> \
|
--address-validator <your address from above> \
|
||||||
--moniker "<your name>" \
|
--moniker "<your name>" \
|
||||||
|
99
testnets/kava-test-1/genesis.json
Normal file
99
testnets/kava-test-1/genesis.json
Normal file
@ -0,0 +1,99 @@
|
|||||||
|
{
|
||||||
|
"genesis_time": "2018-08-17T20:36:46.515426797Z",
|
||||||
|
"chain_id": "kava-test-1",
|
||||||
|
"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": "2XxN3kL5CWNyI9x4o3+iG//R+BVyTwmhx0ZVNGQOAjo="
|
||||||
|
},
|
||||||
|
"power": "1000",
|
||||||
|
"name": ""
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"app_hash": "",
|
||||||
|
"app_state": {
|
||||||
|
"accounts": [
|
||||||
|
{
|
||||||
|
"address": "cosmosaccaddr1fr2eescsy22uw93x9df2dernrd6llyar66e4gy",
|
||||||
|
"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": "cosmosaccaddr1fr2eescsy22uw93x9df2dernrd6llyar66e4gy",
|
||||||
|
"pub_key": {
|
||||||
|
"type": "tendermint/PubKeyEd25519",
|
||||||
|
"value": "2XxN3kL5CWNyI9x4o3+iG//R+BVyTwmhx0ZVNGQOAjo="
|
||||||
|
},
|
||||||
|
"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": "cosmosaccaddr1fr2eescsy22uw93x9df2dernrd6llyar66e4gy",
|
||||||
|
"validator_addr": "cosmosaccaddr1fr2eescsy22uw93x9df2dernrd6llyar66e4gy",
|
||||||
|
"shares": "1000",
|
||||||
|
"height": "0"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user