Chia 基本命令

Posted 一只独角兽

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Chia 基本命令相关的知识,希望对你有一定的参考价值。

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中

以上是关于Chia 基本命令的主要内容,如果未能解决你的问题,请参考以下文章

Chia 基本命令

Chia 基本命令

Chia挖矿 :投入产出与回本周期分析!

挖矿丨你有多大的几率获得一个Chia区块?

Chia笔记:solo挖矿与加入矿池挖矿的区别

chia如何给别人P盘