Installing
- On Linux ensure you have
libgomp1
as well asocl-icd-libopencl1
installed - Download the latest binary zip for your OS from the releases page or if you can not access GitHub there is a direct download as well.
-
Run the binary, it will create a default
foxy-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
./foxy-gh-farmer keys add
and ensure your PlotNFTs are present in yourfoxy-gh-farmer.yaml
. This can be achieved by copying them from anotherfoxy-gh-farmer.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 your PlotNFTs are present in yourfoxy-gh-farmer.yaml
. This can be achieved by copying them from anotherfoxy-gh-farmer.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
foxypool/foxy-gh-farmer:latest
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 first exec
into the running container with
docker exec -it <name of your container> bash
foxy-gh-farmer join-pool
inside the container.