Skip to main content

Common library to deployment platon chain

Project description

PlatON-Deploy

PlatON 区块链网络部署工具

特性

1. 加入公链,统一管理,根据网络进行部署
2. 加入私链
3. 部署私链
4. 指定节点连接网络(指定了static的时候,会连接创始节点嘛)

自由的创世文件 自由的网络结构(创世节点、自营节点、外部节点)

字段详解

consensus: # 共识节点,有时必填
- host: 10.10.8.236 # 节点ip,必填
  username: juzhen  # 节点机器账户,必填
  password: Platon123! # 节点机器密码,必填
  id: 5b068ef1cfeef626d9ad131d08b889002a2f5c7306ff34c3032ad04fcc92fd234d0c7272014068eb998dae2abfe9f10271ed6731963b1cf22ec944abd8fb0f9e # 节点公钥,非必填,最好不填
  nodekey: 3314532da43158885d8db07e0b25dc0c194c8382c4fa5ce8c28a0b7c86cdec16 # 节点私钥,非必填,最好不填,需要与公钥对应
  blspubkey: e3797fad1041ecbd0b91b444de1f063ab74849a0fffa9fa9565ca2b0f78a1420a036d529be9f81576bcb836653436ac0e6eb91143b2e04cb1b0dc93da3ddf893 # bls公钥,必填
  blsprikey: e4c7bb7918e474bff76b07361ec44b2d613fb9cfb58a296a90bcfbf7bace491f # bls私钥,必填
  port: 16789 # p2p端口,非必填,最好填
  rpcport: 6789 # rpc端口,非必填,最好填
  url: http://10.10.8.236:6789 # rpc url,非必填,最好不填
  wsport: 6790 # ws端口,非必填,填了才会开ws
  wsurl: ws://10.10.8.236:6790 # ws url,非必填,与wsport匹配,最好不填
- host: 10.10.8.237
  username: 
  password: 
  id: 
  nodekey: 
  port: 
  rpcport: 
  url: 
noconsensus: # 非共识节点,有时必填
- host: 10.10.8.239
  username: 
  password: 
  protocol: 
  id: 
  nodekey: 
  port: 
  rpcport: 
  url: 

配置文件模版


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

platon-env-1.2.0.tar.gz (41.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

platon_env-1.2.0-py3-none-any.whl (49.9 kB view details)

Uploaded Python 3

File details

Details for the file platon-env-1.2.0.tar.gz.

File metadata

  • Download URL: platon-env-1.2.0.tar.gz
  • Upload date:
  • Size: 41.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.27.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.9.5

File hashes

Hashes for platon-env-1.2.0.tar.gz
Algorithm Hash digest
SHA256 b42c45b32f9522b75bdbf62934c8d62c653a703b01ce39bcfc2df2cca26333b1
MD5 b1e7f441a0670f48cb1037ad0423ffe8
BLAKE2b-256 5f9c9d52520630f7241132bb8306ae5e367622afc484a4f7a6fd4e85e673a96b

See more details on using hashes here.

File details

Details for the file platon_env-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: platon_env-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 49.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.27.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.9.5

File hashes

Hashes for platon_env-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 61199a7a2feb751d05c53b28d2e4874fd48f439f13c302b13c8a9d50a36a4e89
MD5 59d24a1a71330a16c60cb67cb4dfe1d0
BLAKE2b-256 ae6bb152333f0b9899600bc0678c444a79d6ff95aa77bdfd70261dcdcf0501d8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page