Sei中文文档(Sei Docs CHN)-by Chainguys
  • 导览(INTRODUCTION)
    • 版权声明(Copyright Notice)
    • 概览 (Overview)
    • Sei 设计空间 (Sei Design Space)
    • DEX 优化 (DEX Optimizations)
    • Sei 生态系统 (Sei Ecosystem)
  • 智能合约和本地开发 (Smart contracts & local development)
    • Sei工具指南 (Sei Tool Guide)
    • 设置一个本地节点 (Set up a local network)
    • 本地 Sei 脚本部署 (Local Sei script deployment)
    • Sei.go
    • CosmWasm合约测试 (CosmWasm Contract Testing)
    • 部署通用合约 (Deploy a generic contract)
    • 部署交易合约 (Deploy an exchange contract)
    • 非完整节点下部署和开发 (Deploy & develop without Full Node)
    • Dex 模块教程 (Dex Module Tutorial)
    • 代币工厂模块教程 (Tokenfactory Module Tutorial)
    • IBC转账 (IBC Transfers)
  • 订单匹配(order match)
    • 并行性 (Parallelism)
    • 资格 (Eligibility)
    • DEX 合约间依赖 (DEX Inter—Contract Dependencies)
    • 白名单商店 (Whitelisted Store)
  • 节点&验证者 (NODES&VALIDATORS)
    • 加入测试网 (Joining Testnets)
    • 更新 (Upgrades)
    • Seinami激励测试网 (Seinami Incentivized Testnet)
      • 加入激励测试网 (Joining Incentivized Testnet)
      • 所有测试任务 (All Testnet Missions)
      • 行为准则 (Code of Conduct)
      • 奖励发放详情 (Rewards Distribution Details)
  • 基础API端点 (Basic API Endpoints)
  • 模块化端点 (Module Endpoints)
  • 状态同步 (Statesync)
  • 恢复操作(Recovery Operations)
  • 治理(GOVERNANCE)
    • 创建提案 (Creating Proposals)
    • 管理质押 (Managing Staking)
    • 对提案投票表决 (Voting on Proposals)
  • 预言机(ORACLE)
    • 预言机参与 (Oracle Participation)
  • 钱包(WALLETS)
    • 钱包集成(Wallet Integration)
    • 转账 (Transfers)
  • 更多(More)
    • 推特(Twitter)
由 GitBook 提供支持
在本页
  1. 智能合约和本地开发 (Smart contracts & local development)

IBC转账 (IBC Transfers)

上一页代币工厂模块教程 (Tokenfactory Module Tutorial)下一页并行性 (Parallelism)

最后更新于2年前

NOTE: For an in-depth explanation on fungible ibc token transfers in Cosmos, please reference

注意:有关 Cosmos 中同质化 ibc 代币转移的深入解释,请参考

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

此页面提供了带有 Sei 的 ibc 的示例和概述,以在多个 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 or ibc-go github .

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

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
https://interchainacademy.cosmos.network/academy/ibc/token-transfer.html
https://interchainacademy.cosmos.network/academy/ibc/token-transfer.html
https://hermes.informal.systems/
https://github.com/cosmos/ibc-go
https://hermes.informal.systems/
https://github .com/cosmos/ibc-go