Override STAKE/FEE with env variables

Positional arguments are for the addresses
This commit is contained in:
Simon Warta
2020-02-09 11:31:28 +01:00
parent f4683ce0f5
commit dd7c3bbe2c

View File

@@ -2,9 +2,8 @@
set -o errexit -o nounset -o pipefail
PASSWORD=${PASSWORD:-1234567890}
# we can override the default token tickers as cli args
STAKE=${1:-ustake}
FEE=${2:-ucosm}
STAKE=${STAKE_TOKEN:-ustake}
FEE=${FEE_TOKEN:-ucosm}
wasmd init --chain-id=testing testing
# staking/governance token is hardcoded in config, change this