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 提供支持
在本页
  • 创建一个 Denom (Creating a Denom)
  • 铸币 (Minting)
  • 燃烧 (Burning)
  1. 智能合约和本地开发 (Smart contracts & local development)

代币工厂模块教程 (Tokenfactory Module Tutorial)

上一页Dex 模块教程 (Dex Module Tutorial)下一页IBC转账 (IBC Transfers)

最后更新于2年前

This page gives examples of basic tokenfactory module cli commands to mint sdk.Coins on Sei.

本页提供了在 Sei 上铸币 sdk.Coins 的基本 tokenfactory 模块的 cli 命令示例。

For descriptions about each tokenfactory module message types visit

有关每个 tokenfactory 模块消息类型的描述,请访问

The tokenfactory module allows any account to create a new token with the name factory/<creator address>/<subdenom> in a permissionless fashion.

tokenfactory(代币工厂) 模块允许任何帐户以无许可方式创建一个名为 factory/<creator address>/<subdenom> 的新代币。

创建一个 Denom (Creating a Denom)

seid tx tokenfactory create-denom <subdenom> --from <account_name> --chain-id <chain_id>

This will create a new coin of the form factory/<creator address>/<subdenom>

这将从factory/<creator address>/<subdenom>创建一个新代币

铸币 (Minting)

NOTE: Minting is only possible from the creator address account

注意:铸币只能通过创建者地址帐户进行

seid tx tokenfactory mint <amount><denomination> --from <account_name> --chain-id <chain_id>

<amount><denomination> by example includes 100sei

<amount><denomination> 该示例包含 100sei

Once minted, consider a bank send to send the tokens to another address

铸造后,考虑使用“银行发送”将代币发送到另一个地址

燃烧 (Burning)

NOTE: Burning is only possible from the creator address account

注意:只能从创建者地址帐户进行燃烧

seid tx tokenfactory burn <amount><denomination> --from <account_name> --chain-id <chain_id>
https://github.com/sei-protocol/sei-chain/tree/master/x/tokenfactory
https://github.com/sei-protocol/sei-chain/tree/master/x/tokenfactory