All CLI commands for Chia Network with an explanation
Here you can find the first German-language overview of all important console commands for Chia.
Chia basic commands
chia init – migrates files from an old version to the latest version after an update
chia start node – starts node only
chia start node -r – restarts the node
chia start farmer – starts the farmer, harvester, bode, and wallet
chia start farmer -r – restarts everything
chia plots check – checks all plot files
chia show -s – show status of node
chia farm summary – Show summary of the farmer
chia wallet show – Show wallet data
chia keys generate – Generate keys
chia keys add – Add keys / seed
chia stop -d all – turn off all Chia services
chia netspace – show the current size of the network
chia version – shows the current chia version
Please send coffee donations to: 0xd0803A568615A18403C3722AC6dBb3202FD14034 (Ethereum)
Creating Chia Plots
chia create – creates a new plot according to the settings chosen in the start parameters
-k NUMBER – specifies the k-size for the plot – valid values are 32, 33, 34 or 35. A k32 plot requires about 240 GB of temp memory and ends up with about 100 GB.
-n NUMBER – the number of times a plot should be created
-b NUMBER – size of memory to be used in MB (default 4608 MB).
-f NUMBER – the farmer public key can be specified here
-p NUMBER – the public key of a pool can be specified here
-a NUMBER – here you can specify the fingerprint of the key to use, this option is useful if you have multiple private keys stored
-t PATH – specifies the path to the temp. directory
-2 PATH – specifies the path to the optional second temp. directory; this directory is used only for phase 3 and 4
-d PATH – specifies the path to the final directory where the plot will be saved
-r NUMBER – specifies the number of CPU cores to use in phase 1. 2 cores seems to be the best setting, more than 4 cores will give negative results.
-u NUMBER – specifies the number of buckets / “pots”. More pots require less ram but more accesses to the SSD/HDD. There is no advantage to use less pots, the default is 128
-e – disables bitfield plotting. This setting is not recommended.
For more information on creating Chia plots, see my tutorial on Chia.
Wallet commands
chia wallet get_address – Get a receiving address
chia wallet get_transaction – Obtain a transaction
chia wallet get_transactions – Show all transactions
chia wallet show – Show wallet data
chia wallet send – send chia to another wallet
Plot commands
chia plots add PATH – adds a directory as plot directory
chia plots check – checks the existing plot files
chia plots create – creates a new plot (see above)
chia plots remove – removes a plot directory from the configuration
chia plots show – shows the currently stored paths for plots
farm commands
chia farm challenges – displays recent challenges
chia farm summary – displays a summary of the farmer
key commands
chia keys add – add a key by seed
chia keys delete -f NUMBER – deletes the key with the fingerprint NUMBER
chia keys delete_all – deletes all keys
chia keys generate – generates a new key
chia keys generate_and_print – generates a new key WITHOUT saving it
chia keys show – shows all saved keys
chia keys sign – signs a message with the private key
chia keys verify – verifies a signature
Note: This text is copyrighted
Please send coffee donations to: 0xd0803A568615A18403C3722AC6dBb3202FD14034 (Ethereum)
10 Antworten zu “All CLI commands for Chia Network with an explanation”
Hi bro thank you for the tutorial. Just to let you know, you forgot to add an ‘s’ to the ‘plot’ command sections. They should read ‘plots’ not ‘plot’.
Thank you – I just updated the list.
Hey, great list! To find the farmer and pool key only you can also use:
chia keys show |Select-String -SimpleMatch “Farmer”,”Pool”
Handy if you’re plotting on a second machine.
“chia plots create” also have flag -c, –pool_contract_address TEXT
Thank you so much, I just started to run Chia by command, which command should I use to send reward to cold wallet.
You have to edit the reward address within the configuraton.
Hello, is there a “chia plots refresh” or something to refresh the plots, like the option in the gui ?
Thanks
Plots getting normally scanned all 10 minutes.
Hi Daniel! Thanks for the post.
Is there changes to the Create Plots command with the new Pools? How would i go around adding a Plot to a Pool now, rather than my Solofarm?
You also have to specify the pool key and not only your own key.