Start the two instances of demo chain with following commands
ignite chain serve -c sender.yml --reset-once
ignite chain serve -c receiver.yml --reset-once
Configure and start the relayer
ignite relayer configure -a \
--source-rpc " http://localhost:26659" \
--source-faucet " http://localhost:4500" \
--source-port " interquery" \
--source-gasprice " 0.0stake" \
--source-gaslimit 5000000 \
--source-prefix " cosmos" \
--source-version " icq-1" \
--target-rpc " http://localhost:26559" \
--target-faucet " http://localhost:4501" \
--target-port " icqhost" \
--target-gasprice " 0.0stake" \
--target-gaslimit 300000 \
--target-prefix " cosmos" \
--target-version " icq-1"
Send the query to "receiver" chain
interchain-query-demod tx interquery send-query-all-balances channel-0 cosmos1ez43ye5qn3q2zwh8uvswppvducwnkq6w6mthgl --chain-id=sender --node=tcp://localhost:26659 --home ~ /.sender --from alice
See the result of packet 1
interchain-query-demod query interquery query-state 1 --chain-id=sender --node=tcp://localhost:26659