IBC Transfers
NOTE: For an in-depth explanation on fungible ibc token transfers, please reference IBC Docs
This page gives examples and an overview of ibc
with Gameluk, to send assets between multiple ibc
-compatible chains.
NOTE: In order to send ibc
transfers to another chain, there must be a ibc
channel and relayers set up with that chain. To setup a relayer, reference hermes
relayer documentation or the ibc-go
github.
Run following in order to list out all available ibc channels
gameid q ibc channel channels
NOTE: Beforehand, follow instructions to install the gameid
command line tool from the gameluk-chain
repo.
IBC Transfers
First verify token balances:
gameid q bank balances $ACCOUNT_ADDRESS --chain-id=$CHAIN_ID
Submit a ibc token transfer:
gameid tx ibc-transfer transfer $SRC_PORT $SRC_CHANNEL $RECEIVER_ADDRESS $AMOUNT --chain-id=$CHAIN_ID --from=$ACCOUNT --fees=$FEE -y
NOTE: the gameid tx ibc-transfer transfer --help
contains useful information about the cli
tool for submitting ibc transfers
Example: Sending 1000ugame from atlantic-2
(gameluk incentivized testnet) to deweb
chain using the transfer
source port, channel-135
source channel
gameid tx ibc-transfer transfer transfer channel-135 $DEWEB_WALLET 1000ugame --chain-id=atlantic-2 --from=$ACCOUNT --fees=300ugame -y
Last updated