chore : update the docs

This commit is contained in:
Sai Kumar 2022-04-06 07:26:51 +05:30
parent dd114a939f
commit a4fc953e1a
5 changed files with 19 additions and 13 deletions

View File

@ -4,4 +4,8 @@
```shell ```shell
$ bash multinode_testnet.sh $ bash multinode_testnet.sh
or
# this is create localnet will docker containers
$ make localnet-start
``` ```

View File

@ -106,7 +106,8 @@ Use `curl` to download the genesis file
**Replace your **genesis** file with published genesis file** **Replace your **genesis** file with published genesis file**
```shell ```shell
curl http://167.172.173.94:26657/genesis | jq .result.genesis > ~/.chibaclonkd/config/genesis.json # Will be updated
curl {GENESIS_LINK} | jq .result.genesis > ~/.chibaclonkd/config/genesis.json
``` ```
Verify sha256 hash of genesis file with the below command Verify sha256 hash of genesis file with the below command
@ -118,13 +119,16 @@ jq -S -c -M '' ~/.chibaclonkd/config/genesis.json | shasum -a 256
genesis sha256 hash should be genesis sha256 hash should be
``` ```
4e5b68b5652a608c44c33e669c84ac179d9c0e301f958b5448f037a53c5cbb4e {WILL BE UPDATED}
``` ```
## 2) Update Peers & Seeds in config.toml ## 2) Update Peers & Seeds in config.toml
``` ```
peers="5ad2e6c35f2c84ff3ee31d89a95b34d92cb6afb1@157.230.101.237:26656,defc95b08547b6ef254723ad9621967a7e819020@161.35.223.44:26656" <!-- Note: don't use peers
peers="5ad2e6c35f2c84ff3ee31d89a95b34d92cb6afb1@157.230.101.237:26656,defc95b08547b6ef254723ad9621967a7e819020@161.35.223.44:26656" -->
{peers={WILL BE UPDATED}}
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" ~/.chibaclonkd/config/config.toml sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" ~/.chibaclonkd/config/config.toml
``` ```

View File

@ -118,16 +118,16 @@ recover accounts at a later point in time.
## 7) Add Genesis Account ## 7) Add Genesis Account
``` ```
chibaclonkd add-genesis-account <key-name> 4500000000000000agnt --keyring-backend os chibaclonkd add-genesis-account <key-name> 150000000000000000000000000achk --keyring-backend os
``` ```
## 8) Create Your `gentx` ## 8) Create Your `gentx`
``` ```
chibaclonkd gentx <key-name> 4500000000000000agnt \ chibaclonkd gentx <key-name> 150000000000000000000000000achk \
--pubkey=$(chibaclonkd tendermint show-validator) \ --pubkey=$(chibaclonkd tendermint show-validator) \
--chain-id="chibaclonk_81337-1" \ --chain-id="chibaclonk_81337-1" \
--moniker="my-moniker" \ --moniker="YOUR_MONIKER_NAME" \
--website="https://yourweb.site" \ --website="https://yourweb.site" \
--details="description of my validator" \ --details="description of my validator" \
--commission-rate="0.10" \ --commission-rate="0.10" \

View File

@ -39,7 +39,7 @@ fi
# chain env variables # chain env variables
export DAEMON_HOME=~/.testchibaclonk export DAEMON_HOME=~/.testchibaclonk
export CHAINID=chibaclonk_9000-1 export CHAINID=chibaclonk_9000-1
export DENOM=agnt export DENOM=achk
export GH_URL=https://github.com/vulcanize/chiba-clonk.git export GH_URL=https://github.com/vulcanize/chiba-clonk.git
export CHAIN_VERSION=main export CHAIN_VERSION=main
export DAEMON=chibaclonkd export DAEMON=chibaclonkd

View File

@ -19,10 +19,8 @@ recover accounts at a later point in time.
##### Get Test tokens from faucet ##### Get Test tokens from faucet
- Open this link : http://167.172.173.94:1314/ and paste your account - Faucet website link will be updated
- 1 gnt = 10^18 agnt - 1 CHK = 1 * 10e^18 achk
- Each Transaction you will get 500gnt
- Total Tokens 5000gnt for account
### 3.Create Validator ### 3.Create Validator
@ -39,7 +37,7 @@ Please replace `key_name` with your key name and `moniker` also
``` ```
chibaclonkd tx staking create-validator \ chibaclonkd tx staking create-validator \
--amount=4500000000000000000000agnt \ --amount=150000000000000000000000000achk \
--pubkey=$(chibaclonkd tendermint show-validator) \ --pubkey=$(chibaclonkd tendermint show-validator) \
--moniker="my-moniker" \ --moniker="my-moniker" \
--website="https://myweb.site" \ --website="https://myweb.site" \
@ -51,6 +49,6 @@ chibaclonkd tx staking create-validator \
--min-self-delegation="1" \ --min-self-delegation="1" \
--gas="auto" \ --gas="auto" \
--gas-adjustment="1.2" \ --gas-adjustment="1.2" \
--gas-prices="0.025agnt" \ --gas-prices="0.025achk" \
--from=<key_name> --from=<key_name>
``` ```