官方说明:
git clone https://github.com/Chia-Network/chia-blockchain.git -b latest
cd chia-blockchain
sh install.sh
. ./activate
sh install-gui.sh
cd chia-blockchain-gui
npm run electron &
安装并启动钱包
关闭钱包后命令行如下:
cd chia-blockchain/venv/bin
ls
Activate.ps1 chia_harvester opd
activate chia_introducer pip
activate.csh chia_timelord pip3
activate.fish chia_timelord_launcher pip3.9
brun chia_wallet python
chardetect cryptfile-convert python3
chia easy_install python3.9
chia_farmer easy_install-3.9 read_ir
chia_full_node keyring run
chia_full_node_simulator opc wheel
这里启动chia_farmer chia_havester
localhost:bin gary$ ./chia_farmer &
[1] 3603
localhost:bin gary$ ./chia_harvester &
[2] 3605
执行命令
./chia plots create -k32 -n1 -t/Users/gary/Downloads/farm -2/Users/gary/Downloads/farm -d/Users/gary/Downloads/final_farm -b4000 -u63 -r2 -a761481125
就可以挖矿了。参数k默认为32 可以填写更高的。参数t是缓存目录,参数-2为第二缓存目录。-n为一次挑战田的快数。-d为p盘目标位置。-b为内存 -u为缓存块。
-a为钱包 fingerprint,-r为线程数。
详细参数如下:
localhost:bin gary$ ./chia plots create --help
Usage: chia plots create [OPTIONS]
Options:
-k, --size INTEGER Plot size [default: 32]
--override-k Force size smaller than 32 [default: False]
-n, --num INTEGER Number of plots or challenges [default: 1]
-b, --buffer INTEGER Megabytes for sort/plot buffer [default:
3389]
-r, --num_threads INTEGER Number of threads to use [default: 2]
-u, --buckets INTEGER Number of buckets [default: 128]
-a, --alt_fingerprint INTEGER Enter the alternative fingerprint of the key
you want to use
-c, --pool_contract_address TEXT
Address of where the pool reward will be
sent to. Only used if alt_fingerprint and
pool public key are None
-f, --farmer_public_key TEXT Hex farmer public key
-p, --pool_public_key TEXT Hex public key of pool
-t, --tmp_dir PATH Temporary directory for plotting files
[default: .]
-2, --tmp2_dir PATH Second temporary directory for plotting
files
-d, --final_dir PATH Final directory for plots (relative or
absolute) [default: .]
-i, --plotid TEXT PlotID in hex for reproducing plots
(debugging only)
-m, --memo TEXT Memo in hex for reproducing plots (debugging
only)
-e, --nobitfield Disable bitfield
-x, --exclude_final_dir Skips adding [final dir] to harvester for
farming
-h, --help Show this message and exit.
p盘可以一次多个哦,考虑下自己的缓存硬盘空间
够不够,内存够不够。32g内存可以考虑7p。需要2t ssd。cpu肯定是 7*2 核心以上了。
欢迎感兴趣的朋友交流。