IBC转账 (IBC Transfers)

NOTE: For an in-depth explanation on fungible ibc token transfers in Cosmos, please reference https://interchainacademy.cosmos.network/academy/ibc/token-transfer.html

注意:有关 Cosmos 中同质化 ibc 代币转移的深入解释,请参考 https://interchainacademy.cosmos.network/academy/ibc/token-transfer.html

This page gives examples and an overview of ibc with Sei, to send assets between multiple ibc-compatible chains.

此页面提供了带有 Seiibc 的示例和概述,以在多个 ibc 兼容的链之间发送资产。

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 documentation from the hermes relayer https://hermes.informal.systems/ or ibc-go github https://github.com/cosmos/ibc-go.

注意:为了将ibc传输发送到另一个链,必须有一个ibc通道和与该链一起设置的中继器。要设置中继器,请参考来自 hermes 中继器的文档 https://hermes.informal.systems/ibc-go github https://github .com/cosmos/ibc-go

Run following in order to list out all available ibc channels

运行以下命令以列出所有可用的 ibc 频道

seid q ibc channel channels

NOTE: Beforehand, follow instructions to install the seid command line tool from the sei-chain repo.

注意:事先,请按照说明从 sei-chain repo 安装 seid 命令行工具。

IBC转账 (IBC Transfers)

First verify token balances:

首先验证代币余额:

seid q bank balances $ACCOUNT_ADDRESS --chain-id=<chain_id>

Submit a ibc token transfer:

提交一个ibc代币转账:

seid q bank balances $ACCOUNT_ADDRESS --chain-id=<chain_id>

NOTE: the seid tx ibc-transfer transfer --help contains useful information about the cli tool for submitting ibc transfers

注意:seid tx ibc-transfer transfer --help 包含有关提交 ibc 转账的 cli 工具的有用信息

Example: Sending 1000usei from atlantic-1 (sei incentivized testnet) to deweb chain using the transfer source port, channel-135 source channel

示例:使用 transfer 源端口,channel-135 源通道将 1000usei 从 atlantic-1(sei 激励测试网)发送到 deweb

seid tx ibc-transfer transfer transfer channel-135 <deweb_wallet> 1000usei --chain-id=atlantic-1 --from=<sei_wallet> --fees=300usei -y

最后更新于