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)

本地 Sei 脚本部署 (Local Sei script deployment)

上一页设置一个本地节点 (Set up a local network)下一页Sei.go

最后更新于2年前

To set up seid locally you can use deployment script. This script automatically warps the old sei state and sets up a new sei node locally. To run the script:

要在本地设置 seid,您可以使用 部署脚本。该脚本自动封装旧的 sei 状态并在本地设置新的 sei 节点。要运行脚本:

./scripts/initialize_local_test_node.sh

The script takes in a keyname, e.g. alice, and a package release version i.e. 1.1.4beta. It produces the local chain with a given chain_id of sei-chain.

该脚本接受一个键名,例如alice,以及一个发布包版本,即1.1.4beta。它生成具有给定chain_id sei-chain 的本地链。

To confirm the script successfully started seid locally, you can run the following: seid status | jq and should see JSON that looks like the following:

要确认脚本在本地成功启动了 seid,可以运行以下命令:seid status | jq 并且应该看到如下所示的 JSON:

{"NodeInfo":{"protocol_version":{"p2p":"8","block":"11","app":"0"},"id":"36126cf4875862c3388f04dcc636fc1557791dd7","listen_addr":"tcp://0.0.0.0:26656","network":"sei-chain","version":"0.34.19","channels":"40202122233038606100","moniker":"demo","other":{"tx_index":"on","rpc_address":"tcp://127.0.0.1:26657"}},"SyncInfo":{"latest_block_hash":"0A708E540CC04445B3C5585ED2757FADCAD18FB8E2A403655B3DC90D0F588D49","latest_app_hash":"E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855","latest_block_height":"1","latest_block_time":"2022-09-04T17:59:07.314228Z","earliest_block_hash":"0A708E540CC04445B3C5585ED2757FADCAD18FB8E2A403655B3DC90D0F588D49","earliest_app_hash":"E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855","earliest_block_height":"1","earliest_block_time":"2022-09-04T17:59:07.314228Z","catching_up":false},"ValidatorInfo":{"Address":"13A8F763B396AF5B835A10748C4EFEDB0F99AC28","PubKey":{"type":"tendermint/PubKeyEd25519","value":"7ztvoNO/8wxIkqTcsDQ3CLgCyF5yOz6WBqf0yGrmeuE="},"VotingPower":"70000000000000"}}
this
这个