Distribution script for Folding at Home for Cheemscoin
Note: These are the instructions for mac / linux. Windows may be slightly different.
- Clone this repository onto your computer and open a terminal in the directory
python3 -m venv venv
source venv/bin/activate
if using Bash orsource venv/bin/activate.fish
if using fishpython -m pip install -r requirements.txt
source venv/bin/activate
if using Bash orsource venv/bin/activate.fish
if using fishpython distribute/fah.py
After you install any additional dependencies (while in the venv) you should update the dependency list with pip freeze > requirements.txt
If you get the error ValueError: {'code': -32010, 'message': 'Filtered'}
then check what the gas price is on https://blockscout.com/ and change it in distribute/blockchain.py
to match or be higher.
0 12 * * 0 cd ~/fah; source venv/bin/activate; python distribute/fah.py
Note: I have found this doesn't work because the Google token isn't cached properly.