commercionetwork / chains

Repository containing all the different Commercio.network chains versions
Apache License 2.0
1 stars 4 forks source link

Chains improvements #1

Closed RiccardoM closed 5 years ago

RiccardoM commented 5 years ago

Changes

marcotradenet commented 5 years ago

File README.md Line 84: pkill cnd should be also before line 75. Line 86: genesis.json is in local repo that that was downloaded at line 41. Maybe cp genesis.json ~/.cnd/config is better, or write it as an alternatives instead of wget. Line 170 and 189: substitute commerce-testnet2000 with generic value of testnet. At line 64 add export CHAINID=commercio-$(cat .data | grep -oP 'Name\s+\K\S+'). After line68 add export CHAINID="$CHAINID". At line 170 and 189 use $CHAINID instead of commercio-testnet2000. Using cncli config chain-id $CHAINID you can delete chain-id flags from the commands.

At the end, before line 201, add

## 7. Confirm your validator is running.
Your validator is active if the following command returns anything:
```shell
cncli query staking validators --chain-id $CHAINID | fgrep $(cnd tendermint show-validator)```
You should now see your validator in [Commercio explorer](https://test.explorer.commercio.network/it/validators)