diff --git a/scripts/cosm/README.md b/scripts/cosm/README.md index a7248f5d..13c16ea5 100644 --- a/scripts/cosm/README.md +++ b/scripts/cosm/README.md @@ -10,7 +10,7 @@ Run the following: ## CLI -Docker-friendly access to `gaiacli` is provided. Just use the `./cli.sh` script. +Docker-friendly access to `wasmcli` is provided. Just use the `./cli.sh` script. For example: ``` diff --git a/scripts/cosm/cli.sh b/scripts/cosm/cli.sh index 5487cfa2..f7131106 100755 --- a/scripts/cosm/cli.sh +++ b/scripts/cosm/cli.sh @@ -2,10 +2,12 @@ set -o errexit -o nounset -o pipefail command -v shellcheck > /dev/null && shellcheck "$0" -# Choose from https://hub.docker.com/r/tendermint/gaia/tags -VERSION="v2.0.0" +# Choose from https://hub.docker.com/r/cosmwasm/wasmd/tags +REPOSITORY="cosmwasm/wasmd" +VERSION="manual" + CURRENT_DIR="$(realpath "$(dirname "$0")")" -GAIAD_CONTAINER_NAME="gaiad" +BLOCKCHAIN_CONTAINER_NAME="wasmd" HOME_DIR="/home" docker run \ @@ -16,6 +18,6 @@ docker run \ -v "$CURRENT_DIR/.gaiacli:$HOME_DIR/.gaiacli" \ -w "$HOME_DIR" \ --env "HOME=$HOME_DIR" \ - --net "container:$GAIAD_CONTAINER_NAME" \ - "tendermint/gaia:${VERSION}" \ - gaiacli "$@" + --net "container:$BLOCKCHAIN_CONTAINER_NAME" \ + "$REPOSITORY:$VERSION" \ + wasmcli "$@"