crypto:chia:initialize
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
crypto:chia:initialize [2021/06/24 08:09] – [Initialize the nodes and save your private keys] peter | crypto:chia:initialize [2021/06/26 11:43] (current) – [Start the wallet and generate your private key as well as passphrase] peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Crypto - Chia - Initialize ====== | ====== Crypto - Chia - Initialize ====== | ||
- | ===== Initialize the nodes and save your private keys ===== | + | Initialize the nodes and save the private keys |
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Activate the virtual environment | ||
<code bash> | <code bash> | ||
- | # Activate the virtual environment in directory | + | cd chia-blockchain |
. ./activate | . ./activate | ||
</ | </ | ||
Line 18: | Line 22: | ||
<WRAP important> | <WRAP important> | ||
**WARNING: | **WARNING: | ||
- | </ | ||
- | ---- | + | * **init** checks for old versions of chia installed in the ~/.chia directory. |
- | ===== Start the services ===== | + | * If an old version of Chia exists, init migrates these old files to the new version: |
+ | * config (including old SSL files) | ||
+ | * db | ||
+ | * wallet | ||
+ | * Using config.yaml, | ||
- | <code bash> | + | |
- | chia start farmer | + | |
- | </ | + | * Initializes a new SSL key and cert (for secure communication with the GUI). |
- | + | ||
- | <WRAP info> | + | |
- | **NOTE:** This will start the farmer, harvester, | + | |
- | + | ||
- | | + | |
</ | </ | ||
---- | ---- | ||
- | |||
- | ===== Start plotting ===== | ||
- | |||
- | Identify which drive you want to do the plotting on. | ||
- | |||
- | <WRAP important> | ||
- | **WARNING: | ||
- | </ | ||
- | |||
- | First, lets use tmux to help ensure this runs after we disconnect | ||
- | |||
- | <code bash> | ||
- | sudo apt-get install tmux -y# Start tmux | ||
- | tmux new -s plot# Activate venv | ||
- | cd chia-blockchain | ||
- | . ./activate | ||
- | </ | ||
- | |||
- | The simplest command to get started with running a plot. | ||
- | |||
- | < | ||
- | # k = 32, this controls the size of plot. Minimum is 32 | ||
- | # n = 100, Number of plots, pick a high number | ||
- | # t = folder location, this is where the plot gets generated with heavy Reads/ | ||
- | # d = destination folder, this is the destination for where you want the final plot will stay, slower is fine.chia plots create -k 32 -n 100 -t / | ||
- | </ | ||
- | |||
- | <WRAP info> | ||
- | **NOTE: | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | This it! You are now generating plots. | ||
- | |||
- | As soon as a plot finishes, the farmer that we started earlier will pick it up and start farming. | ||
- | |||
- | ---- | ||
- | |||
- | ===== Verify that farming is working ===== | ||
- | |||
- | Verify this you can run while having the venv activated: | ||
- | |||
- | <code bash> | ||
- | chia farm summary | ||
- | </ | ||
- | |||
- | Initially you should see something like this: | ||
- | |||
- | <code bash> | ||
- | Farming status: Farming | ||
- | Total chia farmed: 0.0 | ||
- | User transaction fees: 0.0 | ||
- | Block rewards: 0.0 | ||
- | Last height farmed: 0 | ||
- | Plot count: 4 | ||
- | Total size of plots: 405.432 GiB | ||
- | Estimated network space: 2185.329 PiB | ||
- | Expected time to win: 2 years and 11 months | ||
- | </ | ||
crypto/chia/initialize.1624522188.txt.gz · Last modified: 2021/06/24 08:09 by peter