diff --git a/ci/docker_testnet/gen_node_configs.sh b/ci/docker_testnet/gen_node_configs.sh index 69ac39286..964ae8c64 100755 --- a/ci/docker_testnet/gen_node_configs.sh +++ b/ci/docker_testnet/gen_node_configs.sh @@ -41,14 +41,14 @@ cheqd-noded init dummy_node --chain-id $CHAIN_ID --home $CLIENT_HOME echo "##### [Validator operators] Add them to the genesis" -cheqd-noded add-genesis-account alice 10000000token,100000000stake --home $CLIENT_HOME -cheqd-noded add-genesis-account bob 10000000token,100000000stake --home $CLIENT_HOME +cheqd-noded add-genesis-account alice 10000000cheq,100000000stake --home $CLIENT_HOME +cheqd-noded add-genesis-account bob 10000000cheq,100000000stake --home $CLIENT_HOME echo "##### [Test pool] Add test account to the genesis" ACCOUNT_ID="cosmos1fknpjldck6n3v2wu86arpz8xjnfc60f99ylcjd" -echo $(cat ${CLIENT_HOME}/config/genesis.json | jq '.app_state.bank.balances += [{"address": "'${ACCOUNT_ID}'", "coins": [{"denom": "stake", "amount": "100000000"},{"denom": "token", "amount": "1000"}] }]') > ${CLIENT_HOME}/config/genesis.json +echo $(cat ${CLIENT_HOME}/config/genesis.json | jq '.app_state.bank.balances += [{"address": "'${ACCOUNT_ID}'", "coins": [{"denom": "stake", "amount": "100000000"},{"denom": "cheq", "amount": "1000"}] }]') > ${CLIENT_HOME}/config/genesis.json echo $(cat ${CLIENT_HOME}/config/genesis.json | jq '.app_state.auth.accounts += [{"@type": "/cosmos.auth.v1beta1.BaseAccount","address": "'${ACCOUNT_ID}'", "pub_key": null,"account_number": "0","sequence": "0"}]') > ${CLIENT_HOME}/config/genesis.json diff --git a/ci/integration_tests/multisig.sh b/ci/integration_tests/multisig.sh index fb43bb8c3..9d84a6aeb 100644 --- a/ci/integration_tests/multisig.sh +++ b/ci/integration_tests/multisig.sh @@ -39,8 +39,8 @@ echo "############ Someone (Jack) transfers money to the ffour account" FFOUR_ADDRESS=$(cheqd-noded keys show ffour -a --home $JACK_HOME) FFOUR_PUBKEY=$(cheqd-noded keys show ffour -p --home $JACK_HOME) -cheqd-noded tx bank send jack $FFOUR_ADDRESS 1000000token \ - --fees 200000token \ +cheqd-noded tx bank send jack $FFOUR_ADDRESS 1000000cheq \ + --fees 200000cheq \ --chain-id=$CHAIN_ID \ --home $JACK_HOME \ --yes @@ -67,8 +67,8 @@ cheqd-noded keys show ffour --home $BOB_HOME echo "############ Jack generates a transaction" -cheqd-noded tx bank send $FFOUR_ADDRESS $JACK_ADDRESS 1000token \ - --fees 200000token \ +cheqd-noded tx bank send $FFOUR_ADDRESS $JACK_ADDRESS 1000cheq \ + --fees 200000cheq \ --generate-only \ --home $JACK_HOME \ > $NODE_CONFIGS/unsignedTx.json diff --git a/ci/local_net/README.md b/ci/local_net/README.md index 823b89892..cba268919 100644 --- a/ci/local_net/README.md +++ b/ci/local_net/README.md @@ -61,7 +61,7 @@ vc query bank balances (vc keys show anna -a --home localnet/client) --home loca ### Create NYM ``` -vc tx cheqd create-nym "alias" "verkey" "did" "role" --from anna --gas-prices 1token --chain-id cheqd-node-chain --home localnet/client +vc tx cheqd create-nym "alias" "verkey" "did" "role" --from anna --gas-prices 1cheq --chain-id cheqd-node-chain --home localnet/client ``` ### List nym diff --git a/ci/local_net/gen_node_configs.sh b/ci/local_net/gen_node_configs.sh index 3e61ed39a..010a5e1ec 100755 --- a/ci/local_net/gen_node_configs.sh +++ b/ci/local_net/gen_node_configs.sh @@ -45,7 +45,7 @@ echo "##### [Validator operators] Add them to the genesis" for ((i=0 ; i<$NODES_COUNT ; i++)) do - cheqd-noded add-genesis-account "operator$i" 10000000token,100000000stake --home $OPERATORS_HOME + cheqd-noded add-genesis-account "operator$i" 10000000cheq,100000000stake --home $OPERATORS_HOME done diff --git a/ci/local_net/gen_node_configs_demo.sh b/ci/local_net/gen_node_configs_demo.sh index 12075eecb..b209557fb 100755 --- a/ci/local_net/gen_node_configs_demo.sh +++ b/ci/local_net/gen_node_configs_demo.sh @@ -23,7 +23,7 @@ echo "# Initialze node" cheqd-noded init node0 --chain-id $CHAIN_ID --home $NODE_0_HOME echo "# Add genesis account" -cheqd-noded add-genesis-account jack 10000000token,100000000stake --home $NODE_0_HOME +cheqd-noded add-genesis-account jack 10000000cheq,100000000stake --home $NODE_0_HOME echo "# Generate genesis node tx" cheqd-noded gentx jack 1000000stake --chain-id $CHAIN_ID --home $NODE_0_HOME @@ -50,7 +50,7 @@ mkdir $NODE_1_HOME/config/gentx cp $NODE_0_HOME/config/gentx/* $NODE_1_HOME/config/gentx echo "# Add genesis account" -cheqd-noded add-genesis-account alice 10000000token,100000000stake --home $NODE_1_HOME +cheqd-noded add-genesis-account alice 10000000cheq,100000000stake --home $NODE_1_HOME echo "# Generate genesis node tx" cheqd-noded gentx alice 1000000stake --chain-id $CHAIN_ID --home $NODE_1_HOME @@ -77,7 +77,7 @@ mkdir $NODE_2_HOME/config/gentx cp $NODE_1_HOME/config/gentx/* $NODE_2_HOME/config/gentx echo "# Add genesis account" -cheqd-noded add-genesis-account bob 10000000token,100000000stake --home $NODE_2_HOME +cheqd-noded add-genesis-account bob 10000000cheq,100000000stake --home $NODE_2_HOME echo "# Generate genesis node tx" cheqd-noded gentx bob 1000000stake --chain-id $CHAIN_ID --home $NODE_2_HOME @@ -104,7 +104,7 @@ mkdir $NODE_3_HOME/config/gentx cp $NODE_2_HOME/config/gentx/* $NODE_3_HOME/config/gentx echo "# Add genesis account" -cheqd-noded add-genesis-account anna 10000000token,100000000stake --home $NODE_3_HOME +cheqd-noded add-genesis-account anna 10000000cheq,100000000stake --home $NODE_3_HOME echo "# Generate genesis node tx" cheqd-noded gentx anna 1000000stake --chain-id $CHAIN_ID --home $NODE_3_HOME diff --git a/config.yml b/config.yml index ebb6b9c0f..894290839 100644 --- a/config.yml +++ b/config.yml @@ -1,8 +1,8 @@ accounts: - name: alice - coins: ["1000token", "100000000stake"] + coins: ["1000cheq", "100000000stake"] - name: bob - coins: ["500token"] + coins: ["500cheq"] validator: name: alice staked: "100000000stake" @@ -11,4 +11,4 @@ client: path: "vue/src/store" faucet: name: bob - coins: ["5token"] + coins: ["5cheq"] diff --git a/docs/how-to-join-existing-network.md b/docs/how-to-join-existing-network.md index 2d4e650a3..816f11f4f 100644 --- a/docs/how-to-join-existing-network.md +++ b/docs/how-to-join-existing-network.md @@ -41,5 +41,5 @@ This document describes in detail how to join existing network as validator. Example: ``` - cheqd-noded tx staking create-validator --amount 50000000stake --from steward1 --moniker steward1 --chain-id cheqdnode --min-self-delegation="1" --gas="auto" --gas-prices="1token" --pubkey cosmosvalconspub1zcjduepqpmyzmytdzjhf2fjwttjsrv49t62gdexm2yttpmgzh38p0rncqg8ssrxm2l --commission-max-change-rate="0.02" --commission-max-rate="0.02" --commission-rate="0.01" + cheqd-noded tx staking create-validator --amount 50000000stake --from steward1 --moniker steward1 --chain-id cheqdnode --min-self-delegation="1" --gas="auto" --gas-prices="1cheq" --pubkey cosmosvalconspub1zcjduepqpmyzmytdzjhf2fjwttjsrv49t62gdexm2yttpmgzh38p0rncqg8ssrxm2l --commission-max-change-rate="0.02" --commission-max-rate="0.02" --commission-rate="0.01" ``` diff --git a/docs/how-to-setup-a-new-network.md b/docs/how-to-setup-a-new-network.md index ae414f87a..1030930ae 100644 --- a/docs/how-to-setup-a-new-network.md +++ b/docs/how-to-setup-a-new-network.md @@ -49,9 +49,9 @@ All participants should [setup their nodes](how-to-setup-a-new-node.md) using de - **Add a genesis account with a public key:** - Command: `cheqd-noded add-genesis-account 10000000token,100000000stake` + Command: `cheqd-noded add-genesis-account 10000000cheq,100000000stake` - Example: `cheqd-noded add-genesis-account alice 10000000token,100000000stake` + Example: `cheqd-noded add-genesis-account alice 10000000cheq,100000000stake` - **Generate genesis node transaction:**