
Chia-The encrypted project of✅Bittorrent creator and ✅Steam game distribution protocol developer Bram Cohen! Received institutional investment from ✅A16Z✅DCM✅Danhua Capital
// UPDATE //
Please read this writeup from BackBlaze regarding the profitability of Chia. After mining on 8TB for ~2 months I never saw any wins. Pools are just now starting up, but it’s becoming harder and harder to win as the storage pool rises.
Index
- Installed OS
- Configured storage (temp/plot)
- Installed CHIA
- Activated CHIA
- Create plot
- Start CHIA farmer
- Troubleshooting, Tips, and Links
We’re going to walk through some of the basics of how to setup CHIA farm on Ubuntu and mining for XCH.
Configure Storage
This step I completed when installing the Ubuntu LTS OS. My setup consists of:
- 2x – 4TB Western Digital Purple
- 1x 480GB SSD
- 1x HP RAID controller
Install Chia
I ended up configuring my two 4TB into a RAID-0 to form 8TB storage mapped to /chia_plot. My SSD storage was mounted and mapped to /chia_temp. This will be referenced later on.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
sudo apt-get update sudo apt-get upgrade -y # Checkout the source and install git clone https://github.com/Chia-Network/chia-blockchain.git -b latest --recurse-submodules cd chia-blockchain chmod +x ./install.sh ./install.sh . ./activate (venv) root@chia:/home/moo/chia-blockchain# chia start farmer can't find /root/.chia/mainnet/config/config.yaml ** please run `chia init` to migrate or create new config files ** (venv) root@chia:/home/moo/chia-blockchain# chia init Chia directory /root/.chia/mainnet Can't find private CA, creating a new one in /root/.chia/mainnet to generate TLS certificates No keys are present in the keychain. Generate them with 'chia keys generate' To see your keys, run 'chia keys show' (venv) root@chia:/home/moo/chia-blockchain# chia keys generate Generating private key Added private key with public key fingerprint 111111111111 and mnemonic Setting the xch destination address for coinbase fees reward to XXXXXXXX Setting the xch destination address for coinbase reward to XXXXXXX |
Create plot
1 |
(venv) root@chia:/home/moo/chia-blockchain# chia plots create -k 32 -b 22000 -t /chia_temp -d /chia_plot |
Start Chia Farmer
1 2 3 4 5 6 7 |
(venv) root@chia:/home/moo/chia-blockchain# chia start farmer Daemon not started yet Starting daemon chia_harvester: started chia_farmer: started chia_full_node: started chia_wallet: started |
Troubleshooting, Tips, and Links
- CHIA Links Portal
- Chia Calculator – How much can I earn farming Chia (XCH)?
- Quick Start Guide · Chia-Network/chia-blockchain Wiki · GitHub
- INSTALL · Chia-Network/chia-blockchain Wiki · GitHub
- CHIA Pool FOXY
- Chia Telegram Group – English
Access Logs and Mainnet files
1 |
CD ~/.chia/ |
View the log file output
1 |
tail -f ~/.chia/mainnet/log/debug.log |
Run command in background
1 2 |
nohup chia plots create -k 32 -b 22000 -t /chia_temp -d /chia_plot & tail -f nohup.out |
Alternatively, you can install and run TMUX to manage multiple instances. See TMUX Cheatsheet[1]Tmux Cheat Sheet & Quick Reference
Continuously run
When a plot finishes, it doesn’t automatically get added to the farmer. You must restart the farmer. When a plot finishes, you must also create a new plot. I’m not sure if there is a better way, but I simply added && between my commands.
1 |
chia plots create -k 32 -b 22000 -t /chia_temp -d /chia_plot && chia plots create -k 32 -b 22000 -t /chia_temp -d /chia_plot && chia plots create -k 32 -b 22000 -t /chia_temp -d /chia_plot && chia plots create -k 32 -b 22000 -t /chia_temp -d /chia_plot |
To restart your farmer/node:
1 |
chia farmer start -r |
Notes
All in all it takes roughly 6-12 hours to complete a single plot. As I continue to make progress and win some of the blocks, I’ll update this post.
- Meraki MR46E with MA-MNT-ANT-3 Mounted - November 15, 2022
- Beginners Guide to Farming CHIA XCH on Ubuntu - May 22, 2021
- AZ-900 Study Guide Material - April 18, 2021
Notes & References
↑1 | Tmux Cheat Sheet & Quick Reference |
---|