NOTE: The following steps are only applicable when building images manually. The
docker-compose
file uses images pushed to this repository.
in ibc-go root directory (branch feat/rollkit)
make build-docker-wasm
make build-docker-wasm
this is an additional image which adds dependencies only required by this demo repo.
make build-docker-rollkit
Checkout this fork of the relayer (branch feat/tm_wasm_support).
Build the binary with
make install
mkdir -p ~/.relayer/config
cp test_configs/config.yaml ~/.relayer/config/config.yaml
run this each time you want to reset the relayer's configuration
This will create a wasm simapp, the rollkit app and a celestia dev net. The go relayer will also be started and the path will be linked.
the rollkit and wasm image can be overridden by setting the
ROLLKIT_IMAGE
andWASM_SIMAPP_IMAGE
environment variables. By default, images built in CI will be used.
docker-compose up
or
docker compose up
It may be required to run
docker system prune
in between runs to wipe state.
- IBC Transfer cmd:
make ibc-transfer
- Query packet commitments on rollkit app
gmd q ibc channel packet-commitments transfer channel-0 --node tcp://localhost:36657
- Start Relayer:
rly start
- Query balance on simapp account
docker exec -it wasm-simapp /bin/sh
simd q bank balances cosmos1m9l358xunhhwds0568za49mzhvuxx9uxre5tud --node tcp://localhost:46657