User Tools

Site Tools


crypto:chia:initialize

This is an old revision of the document!


Crypto - Chia - Initialize

Initialize the nodes and save your private keys

# Activate the virtual environment in dir chia-blockchain
. ./activate

Start the wallet and generate your private key as well as passphrase

chia init

WARNING: Do not share your private keys and passphrase with anyone else.


Start the services

chia start farmer

NOTE: This will start the farmer, harvester, a full node, and the wallet.

  • Adding -r at the end will restart the service.

Start plotting

Identify which drive you want to do the plotting on.

WARNING: It is not a good idea to do this on the drive that your boot lives on.

First, lets use tmux to help ensure this runs after we disconnect

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/Writes. You want this to be a faster drive.
# 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 /mnt/a/generating_plots/ -d /mnt/a/plots/

NOTE: To disconnect from tmux, ctrl-b then d. To reattach, tmux a -t plot


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:

chia farm summary

Initially you should see something like this:

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.1620839991.txt.gz · Last modified: 2021/05/12 17:19 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki