3. Interchain Message

OP bridge deposit

Transfer coin from Initia to Minitia via OP bridge.

> initiad tx ophost initiate-token-deposit [bridge_id] [addr] 1000000uinit ''\
  --from [key-name] \
  --gas auto --gas-adjustment 1.5 --gas-prices 0.15uinit \
  --node [rpc-url]:[rpc-port] --chain-id [chain-id]

OP bridge withdraw

Withdraw coin from Minitia to Initia via OP bridge.

There is a finalization period that must be passed after the withdraw transaction has been executed before you can execute finalize-token-withdrawal.

> minitiad tx opchild withdraw [addr] [amount]\
  --from [key-name] \
  --gas auto --gas-adjustment 1.5 --gas-prices [l2_gas_price] \
  --node [rpc-url]:[rpc-port] --chain-id [chain-id]

OP bridge finalize token withdrawal

Finalization period has to pass after withdraw transaction has been executed in order to execute finalize-token-withdrawal transaction to receive coins on Initia Layer 1.

The data required in below example can be fetched from Executor API of each Minitia.


IBC token transfer

Transfer tokens to other chains / Minitias via IBC transfer.


IBC NFT transfer

Transfer NFTs to other chains / Minitias via IBC NFT transfer.

Last updated