diff --git a/.github/ISSUE_TEMPLATE/register-validator.yml b/.github/ISSUE_TEMPLATE/register-validator.yml index 23a0faf2..68034d74 100644 --- a/.github/ISSUE_TEMPLATE/register-validator.yml +++ b/.github/ISSUE_TEMPLATE/register-validator.yml @@ -15,7 +15,7 @@ body: description: Choose the OKP4 network you want to join multiple: false options: - - testnet-1 + - nemeton validations: required: true - type: textarea diff --git a/README.md b/README.md index 8f65606f..5e39107d 100644 --- a/README.md +++ b/README.md @@ -14,11 +14,11 @@ For a complete description about nodes and validators, check out the [OKP4 Docum ## 🔗 Networks -### `testnet-1` +### `nemeton` ![stability-stable](https://img.shields.io/badge/stability-stable-green.svg) ![audience](https://img.shields.io/badge/audience-public-white.svg) -The first OKP4 testnet network, please find more details to join the network [here](chains/testnet-1/). +`Nemeton` is the main OKP4 testnet. Please find more details to join the network [here](chains/nemeton/). ### `devnet-1` diff --git a/chains/testnet-1/README.md b/chains/nemeton/README.md similarity index 57% rename from chains/testnet-1/README.md rename to chains/nemeton/README.md index d56a6b6a..47ae6edb 100644 --- a/chains/testnet-1/README.md +++ b/chains/nemeton/README.md @@ -1,12 +1,12 @@ -# 🔗 `testnet-1` +# 🔗 `nemeton` ## Register in the Genesis -To register your validator node in the `genesis.json` you'll need to provide a signed `gentx` in a [⚖️ Register Validator issue](https://github.com/okp4/networks/issues). +To register your validator node in the `genesis.json` you just need to provide a signed `gentx` in a [⚖️ Register Validator issue](https://github.com/okp4/networks/issues). -You'll **not** need to fork the project and make the changes in the genesis yourself, this will be managed by the CI. +You *don't* have to fork the project and make the changes in the genesis yourself. Everything will be managed by the CI! -The gentx generation can be done as follow (this is an example script, adapt it to your needs) with the [okp4d](https://github.com/okp4/okp4d/releases) binary matching the [network's version](/chains/testnet-1/version.txt): +The gentx generation can be done as follow (this is an example script, adapt it to your needs) with the [okp4d](https://github.com/okp4/okp4d/releases) binary matching the [network's version](/chains/nemeton/version.txt): ```sh # Init node @@ -19,5 +19,5 @@ okp4d --home mynode keys add your-key-name okp4d --home mynode add-genesis-account your-key-name 1200000uknow # Create the gentx -okp4d --home mynode gentx your-key-name 1000000uknow --node-id $(okp4d --home mynode tendermint show-node-id) --chain-id okp4-testnet-1 +okp4d --home mynode gentx your-key-name 1000000uknow --node-id $(okp4d --home mynode tendermint show-node-id) --chain-id okp4-nemeton ``` diff --git a/chains/testnet-1/genesis.json b/chains/nemeton/genesis.json similarity index 58% rename from chains/testnet-1/genesis.json rename to chains/nemeton/genesis.json index ab6d03f1..8c957c80 100644 --- a/chains/testnet-1/genesis.json +++ b/chains/nemeton/genesis.json @@ -1,6 +1,6 @@ { "genesis_time": "2022-09-19T11:54:54.769429Z", - "chain_id": "okp4-testnet-1", + "chain_id": "okp4-nemeton", "initial_height": "1", "consensus_params": { "block": { @@ -30,7 +30,78 @@ "sig_verify_cost_ed25519": "590", "sig_verify_cost_secp256k1": "1000" }, - "accounts": [] + "accounts": [ + { + "@type": "/cosmos.auth.v1beta1.BaseAccount", + "address": "okp41hhmuvam7dpvccexeam2px9j2xrzhv004ryh6se", + "pub_key": null, + "account_number": "0", + "sequence": "0" + }, + { + "@type": "/vesting.v1beta1.CliffVestingAccount", + "base_vesting_account": { + "base_account": { + "address": "okp4157k92xl5kxy89se8h93lng6dk226mkg96t8g48", + "pub_key": null, + "account_number": "0", + "sequence": "0" + }, + "original_vesting": [ + { + "denom": "uknow", + "amount": "72000000000000" + } + ], + "delegated_free": [], + "delegated_vesting": [], + "end_time": "1681473600" + }, + "start_time": "1665748800", + "cliff_time": "1668430800" + }, + { + "@type": "/vesting.v1beta1.ContinuousVestingAccount", + "base_vesting_account": { + "base_account": { + "address": "okp41870uw80d4yvrhcrxlyyj9csd9trz7cc9aeh67p", + "pub_key": null, + "account_number": "0", + "sequence": "0" + }, + "original_vesting": [ + { + "denom": "uknow", + "amount": "50000000000000" + } + ], + "delegated_free": [], + "delegated_vesting": [], + "end_time": "1728907200" + }, + "start_time": "1665748800" + }, + { + "@type": "/vesting.v1beta1.DelayedVestingAccount", + "base_vesting_account": { + "base_account": { + "address": "okp41htjlyu4z5833zzkrw4hlaaqvd2je3w9zg50e86", + "pub_key": null, + "account_number": "0", + "sequence": "0" + }, + "original_vesting": [ + { + "denom": "uknow", + "amount": "10000000000000" + } + ], + "delegated_free": [], + "delegated_vesting": [], + "end_time": "1681473600" + } + } + ] }, "authz": { "authorization": [] @@ -40,7 +111,44 @@ "send_enabled": [], "default_send_enabled": true }, - "balances": [], + "balances": [ + { + "address": "okp41870uw80d4yvrhcrxlyyj9csd9trz7cc9aeh67p", + "coins": [ + { + "denom": "uknow", + "amount": "50000000000000" + } + ] + }, + { + "address": "okp4157k92xl5kxy89se8h93lng6dk226mkg96t8g48", + "coins": [ + { + "denom": "uknow", + "amount": "80000000000000" + } + ] + }, + { + "address": "okp41htjlyu4z5833zzkrw4hlaaqvd2je3w9zg50e86", + "coins": [ + { + "denom": "uknow", + "amount": "20000000000000" + } + ] + }, + { + "address": "okp41hhmuvam7dpvccexeam2px9j2xrzhv004ryh6se", + "coins": [ + { + "denom": "uknow", + "amount": "50000000000000" + } + ] + } + ], "supply": [], "denom_metadata": [ { @@ -103,6 +211,13 @@ "feegrant": { "allowances": [] }, + "feeibc": { + "identified_fees": [], + "fee_enabled_channels": [], + "registered_payees": [], + "registered_counterparty_payees": [], + "forward_relayers": [] + }, "genutil": { "gen_txs": [] }, @@ -191,18 +306,23 @@ } } }, + "logic": { + "params": { + "foo": "foo" + } + }, "mint": { "minter": { - "inflation": "0.130000000000000000", + "inflation": "0.075000000000000000", "annual_provisions": "0.000000000000000000" }, "params": { "mint_denom": "uknow", - "inflation_rate_change": "0.130000000000000000", - "inflation_max": "0.200000000000000000", - "inflation_min": "0.070000000000000000", + "inflation_rate_change": "0.800000000000000000", + "inflation_max": "0.000000000000000000", + "inflation_min": "0.000000000000000000", "goal_bonded": "0.670000000000000000", - "blocks_per_year": "6311520" + "blocks_per_year": "438300" } }, "params": null, @@ -220,7 +340,7 @@ "staking": { "params": { "unbonding_time": "1814400s", - "max_validators": 100, + "max_validators": 150, "max_entries": 7, "historical_entries": 10000, "bond_denom": "uknow", @@ -243,6 +363,20 @@ } }, "upgrade": {}, - "vesting": {} + "vesting": {}, + "wasm": { + "params": { + "code_upload_access": { + "permission": "Nobody", + "address": "", + "addresses": [] + }, + "instantiate_default_permission": "Everybody" + }, + "codes": [], + "contracts": [], + "sequences": [], + "gen_msgs": [] + } } } \ No newline at end of file diff --git a/chains/nemeton/register-config.json b/chains/nemeton/register-config.json new file mode 100644 index 00000000..346a6e32 --- /dev/null +++ b/chains/nemeton/register-config.json @@ -0,0 +1,8 @@ +{ + "start-date": "2022-10-10 00:00:00Z", + "end-date": "2022-11-01 00:00:00Z", + "delegation": { + "amount": "1000000", + "denom": "uknow" + } +} diff --git a/chains/nemeton/version.txt b/chains/nemeton/version.txt new file mode 100644 index 00000000..50aea0e7 --- /dev/null +++ b/chains/nemeton/version.txt @@ -0,0 +1 @@ +2.1.0 \ No newline at end of file diff --git a/chains/testnet-1/register-config.json b/chains/testnet-1/register-config.json deleted file mode 100644 index d50933c7..00000000 --- a/chains/testnet-1/register-config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "start-date": "2022-09-22 15:00:00Z", - "end-date": "2022-11-01 15:00:00Z", - "delegation": { - "amount": "1000000", - "denom": "uknow" - } -} diff --git a/chains/testnet-1/version.txt b/chains/testnet-1/version.txt deleted file mode 100644 index 07ade694..00000000 --- a/chains/testnet-1/version.txt +++ /dev/null @@ -1 +0,0 @@ -nightly \ No newline at end of file