Warning
Foxy-GH-Farmer is deprecated, please use Foxy-Farmer with the gigahorse
backend instead!
Foxy-GH-Farmer is a simplified Gigahorse farmer for the chia blockchain using the Foxy-Pool Gigahorse Farming Gateway to farm without a full node running on your machine.
Note
If you can run a full node, you should!
Foxy-GH-Farmer is useful in the following scenarios:
- Your hardware does not support running a full node
If you are migrating from FlexFarmer please check out this guide.
The docs can be found here.
-
On Linux ensure you have
libgomp1
as well asocl-icd-libopencl1
installed -
Download the latest binary zip for your OS from the releases page
-
Run the binary, it will create a default
foxy-gh-farmer.yaml
in the current directory based on your current chiaconfig.yaml
Note: If you never set up chia before on this machine you will need to import your 24 word mnemonic using
./foxy-gh-farmer keys add
and ensure theconfig.yaml
in<USER_HOME>/.foxy-gh-farmer/mainnet/config/
includes your PlotNFT in the pool list. This can be achieved by manually copying it from anotherconfig.yaml
or running./foxy-gh-farmer join-pool
. -
Edit the
foxy-gh-farmer.yaml
to your liking and restart foxy-gh-farmer -
Profit!
-
On Linux ensure you have
libgomp1
as well asocl-icd-libopencl1
installed -
Clone the git repo and cd into it:
git clone https://github.com/foxypool/foxy-gh-farmer && cd foxy-gh-farmer
-
Create a venv:
python3 -m venv venv
-
Install the dependencies:
venv/bin/pip install .
-
Run using
venv/bin/foxy-gh-farmer
(or activate the venv usingsource venv/bin/activate
and then just usefoxy-gh-farmer
), it will create a defaultfoxy-gh-farmer.yaml
in the current directory based on your current chiaconfig.yaml
if available.Note: If you never set up chia before on this machine you will need to import your 24 word mnemonic using
venv/bin/foxy-gh-farmer keys add
and ensure theconfig.yaml
in<USER_HOME>/.foxy-gh-farmer/mainnet/config/
includes your PlotNFT in the pool list. This can be achieved by manually copying it from anotherconfig.yaml
or runningvenv/bin/foxy-gh-farmer join-pool
. -
Edit the
foxy-gh-farmer.yaml
to your liking and restart foxy-gh-farmer -
Profit!
A docker image based on the provided Dockerfile is available via ghcr.io/foxypool/foxy-gh-farmer:latest
and foxypool/foxy-gh-farmer:latest
.
For specific tags see this list.
A docker-compose.yaml example is available as well, to get started.
Currently, this requires you to have a working foxy-gh-farmer.yaml
already available to mount into the container. See this example configuration for reference.
If you do not have a .chia_keys
directory from a previous chia install, you can set the CHIA_MNEMONIC
environment variable to your 24 words and it will create they keyring accordingly. Please unset it again once done.
Note: To execute the
join-pool
command please firstexec
into the running container withdocker exec -it <name of your container> bashThen you can run
foxy-gh-farmer join-pool
inside the container.
Just download the latest version of the binary from here like you did on install and replace the existing binary, that's it.
- Open a terminal in the
foxy-gh-farmer
directory which you cloned during install. - Run
git pull
- Run
venv/bin/pip install --upgrade .
Pull the latest image using docker pull ghcr.io/foxypool/foxy-gh-farmer:latest
and recreate the container using docker compose up -d
.
Yes, Foxy-GH-Farmer itself is open source. It uses the Gigahorse Farmer and Harvester from madMAx43v3r under the hood which is closed source, however. As such the farming topology has not changed, your locally running farmer still signs your blocks, same as when running a local full node. Your keys do not leave your machine.
GNU GPLv3 (see LICENSE)