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

To set up seid locally you can use this 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"}}

最后更新于