crypto:chia:install_for_cli
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
crypto:chia:install_for_cli [2021/06/23 13:05] – [Start the node and the farmer software] peter | crypto:chia:install_for_cli [2021/06/28 13:10] (current) – removed peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Crypto - Chia - Install for CLI ====== | ||
- | Install Ubuntu or Debian. | ||
- | |||
- | Allow to log in directly as root. | ||
- | |||
- | Edit the / | ||
- | |||
- | <file bash / | ||
- | PermitRootLogin yes | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | ===== Install Apps ===== | ||
- | |||
- | <code bash> | ||
- | apt update | ||
- | apt upgrade | ||
- | apt -y install screen | ||
- | apt -y install lsb-release | ||
- | apt -y install git | ||
- | apt -y install iotop | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | ===== Install Chia ===== | ||
- | |||
- | <code bash> | ||
- | cd /home/ | ||
- | git clone https:// | ||
- | cd chia-blockchain | ||
- | |||
- | chmod 777 install.sh | ||
- | ./ | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | ===== Configure Chia ===== | ||
- | |||
- | <code bash> | ||
- | screen | ||
- | . ./activate | ||
- | chia init | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | ===== Generate a new seed or add an existing seed ===== | ||
- | |||
- | Generate a new seed (key) with this command: | ||
- | |||
- | <code bash> | ||
- | chia keys generate | ||
- | chia keys show | ||
- | </ | ||
- | |||
- | If you already have a seed (key), you can add it with this command: | ||
- | |||
- | <code bash> | ||
- | chia keys add | ||
- | </ | ||
- | |||
- | <WRAP info> | ||
- | **NOTE: | ||
- | |||
- | The ID will be displayed, which can be checked to ensure it matches. | ||
- | |||
- | </ | ||
- | |||
- | To display the current mnemonic keys: | ||
- | |||
- | <code bash> | ||
- | chia keys show --show-mnemonic-seed | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | ===== Initialize the wallet for security ===== | ||
- | |||
- | <code bash> | ||
- | chia init | ||
- | chia wallet show | ||
- | </ | ||
- | |||
- | <WRAP info> | ||
- | **NOTE: | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | ===== Start the node and the farmer software ===== | ||
- | |||
- | <code bash> | ||
- | chia start farmer | ||
- | </ | ||
- | |||
- | |||
- | ---- | ||
- | |||
- | ===== Check the status of the Chia node ===== | ||
- | |||
- | <code bash> | ||
- | chia show -s | ||
- | </ | ||
- | |||
- | returns: | ||
- | |||
- | <code bash> | ||
- | chia show -s | ||
- | Current Blockchain Status: Full Node syncing to block 472503 | ||
- | Currently synced to block: 5337 | ||
- | Current Blockchain Status: Not Synced. Peak height: 5337 | ||
- | Time: Sat Mar 20 2021 13:46:16 UTC Height: | ||
- | |||
- | Estimated network space: 122.571 PiB | ||
- | Current difficulty: 8 | ||
- | Current VDF sub_slot_iters: | ||
- | Total iterations since the start of the blockchain: 16025032771 | ||
- | |||
- | Height: | Hash: | ||
- | 5337 | c43358ce63b9f5c2830e87c03d40c8a48bac25bab7ac577f67540745e579fae5 | ||
- | 5336 | f1c0f4bbcb271d1b851dea58f1670069789ee5cfcf433a5e4987f80bc36f59d3 | ||
- | 5335 | 231ce706e3c2ce88753e29b535042adc0cef54ad142de1f2cef36e67904311e6 | ||
- | 5334 | b5e2b6fd68f7d0e21f4173eddcc076a5b3c26899381588b1a1a2832fc6408c49 | ||
- | 5333 | 74fca4179c1ec817f60846f36b6459f5cdb13446bb732fa33f6f17c1ce118e99 | ||
- | 5332 | f14819b128ec4dff54b4be7f370540413a2cb4978789a4ccc0268fcecf0bb740 | ||
- | 5331 | e232461189d61d09eea5a65bb3b8d3fe216f77179560fb24513b235166b5ac5f | ||
- | 5330 | 79e4cb7cda49aa3fa8139aa503289a0a14f4b2df558c9e04db8ffc7e6d85b2e1 | ||
- | 5329 | 7a6aa45cca747ec377dc0167cf58b0ac7d2d9307e93ea5606dda186bde9c47cc | ||
- | 5328 | 11b86900b8570cf9e69ca05d4b95daf08065668794a18671f6e1c4057027edd6 | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | ===== Check the status of the Chia farm ===== | ||
- | |||
- | <code bash> | ||
- | chia farm summary | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | ===== To add a new directory of plots to the farm ===== | ||
- | |||
- | <code bash> | ||
- | chia plots add -d /chia | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | |||
- | <code bash> | ||
- | create -k 32 -b 4000 -r 4 -n 10 -t /chia-temp/ -d /chia | ||
- | </ |
crypto/chia/install_for_cli.1624453553.txt.gz · Last modified: 2021/06/23 13:05 by peter