User Tools

Site Tools


crypto:chia:install_for_cli

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
crypto:chia:install_for_cli [2021/06/23 21:23] petercrypto: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 /etc/ssh/sshd_config file. 
- 
-<file bash /etc/ssh/sshd_config> 
-PermitRootLogin yes 
-</file> 
- 
----- 
- 
-===== 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 
-</code> 
- 
----- 
- 
-===== Install Chia ===== 
- 
-<code bash> 
-cd /home/ 
-git clone https://github.com/Chia-Network/chia-blockchain.git -b latest --recurse-submodules 
-cd chia-blockchain 
- 
-chmod 777 install.sh 
-./install.sh 
-</code> 
- 
----- 
- 
-===== Configure Chia ===== 
- 
-<code bash> 
-screen 
-. ./activate 
-chia init 
-</code> 
- 
----- 
- 
-===== 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 
-</code> 
- 
-If you already have a seed (key), you can add it with this command: 
- 
-<code bash> 
-chia keys add 
-</code> 
- 
-<WRAP info> 
-**NOTE:**  This will prompt for the seed to be entered. 
- 
-The ID will be displayed, which can be checked to ensure it matches. 
- 
-</WRAP> 
- 
-To display the current mnemonic keys: 
- 
-<code bash> 
-chia keys show --show-mnemonic-seed 
-</code> 
- 
----- 
- 
-===== Initialize the wallet for security ===== 
- 
-<code bash> 
-chia init 
-chia wallet show 
-</code> 
- 
-<WRAP info> 
-**NOTE:**  This should shown the account balance in XCH. 
-</WRAP> 
- 
----- 
- 
-===== Start the node and the farmer software ===== 
- 
-<code bash> 
-chia start farmer 
-</code> 
- 
-returns: 
- 
-<code bash> 
-chia_harvester: started 
-chia_farmer: started 
-chia_full_node: started 
-chia_wallet: started 
-</code> 
- 
----- 
- 
-===== Check the status of the Chia node ===== 
- 
-<code bash> 
-chia show -s 
-</code> 
- 
-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:       5337 
- 
-Estimated network space: 122.571 PiB 
-Current difficulty: 8 
-Current VDF sub_slot_iters: 112197632 
-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 
-</code> 
- 
----- 
- 
-===== Check the status of the Chia farm ===== 
- 
-<code bash> 
-chia farm summary 
-</code> 
- 
-returns: 
- 
-<code bash> 
-Exception from 'wallet' {'error': "'NoneType' object has no attribute 'tx_store'", 'success': False} 
-Farming status: Syncing 
-Total chia farmed: Unknown 
-User transaction fees: Unknown 
-Block rewards: Unknown 
-Last height farmed: Unknown 
-Plot count: 0 
-Total size of plots: 0.000 GiB 
-Estimated network space: 124.983 PiB 
-Expected time to win: Unknown 
-Note: log into your key using 'chia wallet show' to see rewards for each key 
-</code> 
- 
----- 
- 
-===== To add a new directory of plots to the farm ===== 
- 
-<code bash> 
-chia plots add -d /chia 
-</code> 
- 
----- 
- 
- 
-<code bash> 
-create -k 32 -b 4000 -r 4 -n 10 -t /chia-temp/ -d /chia 
-</code> 
- 
----- 
- 
-===== Validate the Plots ===== 
- 
-After creating a plot, check that everything is working correctly. 
- 
-<code bash> 
-chia plots check 
-</code> 
- 
----- 
- 
  
crypto/chia/install_for_cli.1624483383.txt.gz · Last modified: 2021/06/23 21:23 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki