Interchain Accounts
First, start a chaosnet
SSH into nibiru-0
Open up a terminal and run the following command
docker compose -f ./contrib/docker-compose/docker-compose-chaosnet.yml exec -it nibiru-0 /bin/ashRegister an interchain account
# on nibiru-0
FROM=nibi1zaavvzxez0elundtn32qnk9lkm8kmcsz44g7xl
nibid tx interchain-accounts controller \
register \
connection-0 \
--from $FROM \
--gas auto \
--gas-adjustment 1.5 \
--gas-prices 0.025unibi \
--yes | jqQuery the interchain account address
Output:
SSH into nibiru-1
Open up a second terminal and run the following command
Update the cli config in the nibiru-1 container, because we use different ports to avoid confusion:
Fund the interchain account
Query interchain account balance
Output:
Query validators
Output:
Generate packet data
Output:
Send packet from controller chain
Return to the terminal tab that's SSHed into nibiru-0
Query delegations on host chain
Output:
Query packet data
Output:
Last updated
Was this helpful?