Skip to content

My slightly tweaked fork of Chia's docker image.

Notifications You must be signed in to change notification settings

petemcw/docker-chia-network

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

petemcw/docker-chia-network

Chia Network is a new blockchain and smart transaction platform that is easier to use, more efficient, decentralized, and secure. Chia Network was founded by Bram Cohen, the inventor of the BitTorrent network.

Usage

docker run -d --name="chia" \
    -v <path to data>:/farm/plots \
    -v <path to data>:/farm/tmp \
    -v <path to keys file>:/farm/keys.txt \
    -p 8444:8444 \
    -p 8555:8555 \
    -e TZ="America/Chicago" \
    -e KEYS="/farm/keys.txt" \
    ghcr.io/petemcw/chia-network:latest

The time zone defaults to America/Chicago. You can configure a timezone using the TZ environment variable. Check the list of supported time zones.

Example Commands

For complete reference, visit the official CLI documentation pages.

Start a Farmer-only Node

When starting the container, you can activate a farmer-only node by passing the following environment variable:

-e farmer="true"

Start a Harvester-only Node

When starting the container, you can activate a harvester-only node by passing the following configuration:

-v <path to CA directory>:/farm/ca \
-e harvester="true" \
-e farmer_address="ip.address.of.farmer" \
-e farmer_port="8447" \
-e ca="/farm/ca" \
-e keys="copy"

Check Status

docker exec -it chia venv/bin/chia show -s -c

Wallet

docker exec -it chia venv/bin/chia wallet show

Create a Plot

Create a single, standard k-32 plot using an 8GiB memory buffer, 2 threads, and a bucket size of 32.

docker exec -it chia venv/bin/chia plots create -k 32 -n 1 -b 8000 -r 2 -u 32 -t /farm/tmp -d /farm/plots

About

My slightly tweaked fork of Chia's docker image.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages