Mine Chia at Unraid

Chia is currently an emerging cryptocurrency. Unlike Ethereum or Bitcoin, for example, it does not require computing power, but rather an enormous amount of storage space as a proof-of-space concept.

Whoever wants to generate Chia has to provide that space. Cryptographic numbers are then stored on it in so-called plots. To determine a new block, the network searches worldwide for the matching numbers. Those who contribute to the Chia blockchain with their plots are rewarded with Chia coins. The more plots, the better the chances.

The Chia network already combines over an exabyte of storage, or about 83,000 hard drives with 12 terabytes of capacity. At the average price for a 12 TB drive, that would be about €33,117,000 invested in hard drives. Currently, 356 gigabytes of storage and 4 GB of memory are needed for a single plot. Only those who offer space for at least 100 such plots have a reasonably good chance.


Personal opinion:

Even though significantly less energy has to be spent here than for mining Bitcoin or Ethereum, energy is still spent on unnecessary calculations. I think concepts like Storj make much more sense. Storj is also a cryptocurrency based on the Ethereum token – only that with Storj, real data is stored by users who use the network as a “cloud”. This way, the hard drive storage would actually be put to sensible use.


On the subject of Chia, YouTuber der8auer has made a good video:

Chia Docker install under Unraid

If you want to share the storage of your Unraid server with the Chia network, you can use Partition Pixel’s Docker, which is available in the “Apps” tab of the CA plugin.

See also  Unraid vs Freenas

Instructions:

  1. Install Partition Pixel’s Chia via CA.
  2. Create a “chia” directory inside your appdata folder. Skip to step 4 if you do not have an existing Chia wallet.
  3. Inside this new folder, create a new file called “mnemonic.txt” and copy and paste your 24-word mnemonic from your wallet into it (every word one after another on the same line, with 1 space in between, like this sentence).
  4. Back on the Docker template, choose a location for your plotting if you plan on plotting on your server (preferably a fast SSD here).
  5. Choose a location for storing your plots (this is where they will be used to “farm”, preferably an HDD here).
  6. Feel free to click on “show more settings” and change any other variable or path you would like.
  7. Save changes, pull down the container, and enjoy!

If you have some unassigned or external HDDs that you want to use for farming:

  1. Edit /mnt/user/appdata/chia/mainnet/config/config.yaml.
  2. Add more plot directories like so: plot_directories: - /plots - /plots2.
  3. Create a new path in the Docker template like so:
  • Config type: Path
  • Container path: /plots2
  • Host path: /mnt/an_unassigned_hdd/plots/

Here are some commonly used command lines to get you started. Open a console in the Docker container, then type:

  • venv/bin/chia farm summary
  • venv/bin/chia wallet show
  • venv/bin/chia show -s -c
  • venv/bin/chia plots check

Command to start plotting:

  • venv/bin/chia plots create -b 5000 -r 2 -n 1 -t /plotting/plot1 -d /plots
  1. -b is the amount of RAM you want to give.
  2. -r is the amount of threads.
  3. -n is the number of plots you want to queue.
  4. -t is the temp directory.
  5. -d is the completed directory.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top