forked from cosmos-gaminghub/testnets
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
80 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
# nibiru-3000 Testnet | ||
|
||
nibiru-3000 is the final testnet before mainnet launch. The main purpose of this testnet is to simulate upgrade process with the orchestration of validators. Besides we will test pre-released GAME GS Pad which allows users to interact with our blockchain through governance and staking. | ||
|
||
- Go version: [v1.17+](https://golang.org/dl/) | ||
- Nibirud version: [v0.9](https://github.com/cosmos-gaminghub/nibiru/releases/tag/v0.9) | ||
|
||
|
||
## Schedule | ||
**Genesis Validators Application Period** | ||
|
||
Until January 19, 2021 11:00 GMT | ||
|
||
- [**Submit Gentx**](#gentx-collection) | ||
|
||
**Genesis Launch** | ||
|
||
January 21, 2021 11:00 GMT | ||
|
||
**Node Upgrade Event** | ||
|
||
January 26, 2021 11:00 GMT | ||
|
||
## genesis params (changed from default) | ||
|
||
``` | ||
"max_validators": 300 | ||
"send_enabled": false | ||
"receive_enabled": false | ||
"signed_blocks_window": "10000" | ||
"min_signed_per_window": "0.050000000000000000" | ||
"unbonding_time": "86400s" | ||
"voting_period": "86400s" | ||
``` | ||
|
||
- You have to keep up at least 5% in the last 10000block for avoid downtime slashing. | ||
- You have to wait 1day to unbond your token. | ||
- Voting period is 1day. | ||
|
||
|
||
## GenTx Collection | ||
0. Install nibiru | ||
``` | ||
git clone https://github.com/cosmos-gaminghub/nibiru.git | ||
cd nibiru && git checkout -b v0.9 tags/0.9 | ||
make install | ||
``` | ||
|
||
Make sure to checkout to `v0.9` tag. | ||
|
||
1. Initialize the nibiru directories and create the local file with the correct chain-id | ||
|
||
``` | ||
nibirud init <moniker> --chain-id=nibiru-3000 | ||
``` | ||
|
||
2. Create a local key pair in the keybase | ||
``` | ||
nibirud keys add <your key name> | ||
``` | ||
|
||
3. Add the account to your local genesis file with a given amount and key you just created. | ||
``` | ||
nibirud add-genesis-account $(nibirud keys show <your key name> -a) 100000000000ugame | ||
``` | ||
|
||
4. Create the gentx | ||
``` | ||
nibirud gentx <your key name> 100000000000ugame --commission-rate=0.1 --commission-max-rate=1 --commission-max-change-rate=0.1 --pubkey $(nibirud tendermint show-validator) --chain-id=nibiru-3000 | ||
``` | ||
|
||
5. Create Pull Request to this repository ([nibiru-3000/gentxs](./gentxs)) with the file `<your validator moniker>.json`. | ||
|
||
|
||
## Node Upgrade Event | ||
In this testnet, we will update nibirud version from v0.9 to [sm-upgrade](https://github.com/cosmos-gaminghub/nibiru/releases/tag/sm-upgrade). | ||
We will experience `softwareUpgrade` through governance voting, and all nodes(including validators) are required to switch their binary at the designated block height. Manual update and automatic update are both fine. If you haven't try automatic update with `Cosmovisor`, you can try in this testnet. | ||
|
||
Check how to use Cosmovisor in [our docs](https://docs.gamenet.one/config/cosmovisor.html). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"body":{"messages":[{"@type":"/cosmos.staking.v1beta1.MsgCreateValidator","description":{"moniker":"eg","identity":"","website":"","security_contact":"","details":""},"commission":{"rate":"0.100000000000000000","max_rate":"1.000000000000000000","max_change_rate":"0.100000000000000000"},"min_self_delegation":"1","delegator_address":"game1upflpv9fs3zhjck6my83qf79uzeumagl7943cm","validator_address":"gamevaloper1upflpv9fs3zhjck6my83qf79uzeumaglwvauqp","pubkey":{"@type":"/cosmos.crypto.ed25519.PubKey","key":"Aq+Uph5rTzUkVgxAWZfkkb4kecc/tLrvUA4cS60kE7w="},"value":{"denom":"ugame","amount":"100000000000"}}],"memo":"[email protected]:26656","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[{"public_key":{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"Awkwpx1RalJQ2OnnoH8rAfuggV7uhzDlFTOIGPPH8kMi"},"mode_info":{"single":{"mode":"SIGN_MODE_DIRECT"}},"sequence":"0"}],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""}},"signatures":["HeQ2rxZwlbsl6rH6IOBh5L2XyRJLWP4k/bGk/hM7ChsbQF5ZUJNBrEyaCMnlhCDUsp62ltW1GqTHU9LiwJkpVg=="]} |