Chia 基本命令

本文档详细介绍了Chia区块链的核心命令,包括初始化、节点管理、创建plots、钱包操作、plot检查、池协议等,帮助用户快速上手Chia技术。从升级迁移、节点运行,到创建高效plots和管理钱包,一站式解析。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Chia 基本命令

Chia basic commands
Chia 基本命令

chia init – migrates files from an old version to the latest version after an update
更新后将文件从旧版本迁移到最新版本

chia start node – starts node only
仅启动节点

chia start node -r – restarts the node
重启节点

chia start farmer – starts the farmer, harvester, bode, and wallet
启动农民、收割机、波特和钱包

chia start farmer -r – restarts everything
重启启动农民、收割机、波特和钱包

chia plots check – checks all plot files
检查所有绘图文件

chia show -s – show status of node
显示节点状态

chia farm summary – Show summary of the farmer
显示农场摘要

chia wallet show – Show wallet data
显示钱包数据

chia keys generate – Generate keys
生成密钥

chia keys add – Add keys / seed
添加密钥/种子

chia stop -d all – turn off all Chia services
关闭所有 Chia 服务

chia netspace – show the current size of the network
显示网络的当前大小

chia version – shows the current chia version
显示当前的chia版本

Creating Chia Plots
创建 Chia 图
chia create – creates a new plot according to the settings chosen in the start parameters
根据在开始参数中选择的设置创建一个新图

-k NUMBER – specifies the k-size for the plot – valid values are 32, 33, 34 or 35. A k32 plot requires about 240 GB of temp memory and ends up with about 100 GB.

-n NUMBER – the number of times a plot should be created

-b NUMBER – size of memory to be used in MB (default 4608 MB).

-f NUMBER – the farmer public key can be specified here

-p NUMBER – the public key of a pool can be specified here

-a NUMBER – here you can specify the fingerprint of the key to use, this option is useful if you have multiple private keys stored

-t PATH – specifies the path to the temp. directory

-2 PATH – specifies the path to the optional second temp. directory; this directory is used only for phase 3 and 4

-d PATH – specifies the path to the final directory where the plot will be saved

-r NUMBER – specifies the number of CPU cores to use in phase 1. 2 cores seems to be the best setting, more than 4 cores will give negative results.

-u NUMBER – specifies the number of buckets / “pots”. More pots require less ram but more accesses to the SSD/HDD. There is no advantage to use less pots, the default is 128

-e – disables bitfield plotting. This setting is not recommended.

For more information on creating Chia plots, see my tutorial on Chia.

Wallet commands
chia wallet get_address – Get a receiving address
获取收货地址

chia wallet get_transaction – Obtain a transaction
获得一笔交易

chia wallet get_transactions – Show all transactions
显示所有交易

chia wallet show – Show wallet data
显示钱包数据

chia wallet send – send chia to another wallet
将XCH发送到另一个钱包
ex:chia wallet send -i 1 -a NUMBERXCH -m NUMBERXCH FEES -t TARGET_ADDRESS

Plot commands
chia plots add PATH – adds a directory as plot directory
添加一个目录作为绘图目录

chia plots check – checks the existing plot files
检查现有的绘图文件

chia plots create – creates a new plot (see above)
创建一个新图(见上文)

chia plots remove – removes a plot directory from the configuration
从配置中删除绘图目录

chia plots show – shows the currently stored paths for plots
显示图的当前存储路径

farm commands
chia farm challenges – displays recent challenges
显示最近的挑战

key commands
chia keys add – add a key by seed
通过种子添加密钥

chia keys delete -f NUMBER – deletes the key with the fingerprint NUMBER
删除带有指纹 NUMBER 的密钥

chia keys delete_all – deletes all keys
删除所有键

chia keys generate – generates a new key
生成新密钥

chia keys generate_and_print – generates a new key WITHOUT saving it
生成一个新密钥而不保存它

chia keys show – shows all saved keys
显示所有保存的密钥

chia keys sign – signs a message with the private key
使用私钥签署消息

chia keys verify – verifies a signature
验证签名

chia pool协议命令
chia plotnft join -u https://asia1.pool.space -i 2
加入矿池

chia plotnft leave -i 2
离开矿池

chia plotnft claim -i 2
将POOL_WALLET 中xch转到STANDAND_WALLET中

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值