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
libgomp1as well asocl-icd-libopencl1installed -
Download the latest binary zip for your OS from the releases page
-
Run the binary, it will create a default
foxy-gh-farmer.yamlin the current directory based on your current chiaconfig.yamlNote: If you never set up chia before on this machine you will need to import your 24 word mnemonic using
./foxy-gh-farmer keys addand ensure theconfig.yamlin<USER_HOME>/.foxy-gh-farmer/mainnet/config/includes your PlotNFT in the pool list. This can be achieved by manually copying it from anotherconfig.yamlor running./foxy-gh-farmer join-pool. -
Edit the
foxy-gh-farmer.yamlto your liking and restart foxy-gh-farmer -
Profit!
-
On Linux ensure you have
libgomp1as well asocl-icd-libopencl1installed -
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/activateand then just usefoxy-gh-farmer), it will create a defaultfoxy-gh-farmer.yamlin the current directory based on your current chiaconfig.yamlif 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 addand ensure theconfig.yamlin<USER_HOME>/.foxy-gh-farmer/mainnet/config/includes your PlotNFT in the pool list. This can be achieved by manually copying it from anotherconfig.yamlor runningvenv/bin/foxy-gh-farmer join-pool. -
Edit the
foxy-gh-farmer.yamlto 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-poolcommand please firstexecinto the running container withdocker exec -it <name of your container> bashThen you can run
foxy-gh-farmer join-poolinside 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-farmerdirectory 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)