This repo allows the one to generate proof signature for Fluence dev reward claiming.
The methods for generating signature are described below:
-
Build docker image
docker build -t dev-reward-script .
-
If your ssh keys are in ~/.ssh, run the script:
docker run -it --rm --network none -v ~/.ssh:/root/.ssh:ro dev-reward-script
If your ssh keys are in other directories, replace {dir_path_for_your_ssh_keys} with your directory path:
docker run -it --rm --network none -v /{dir_path_for_your_ssh_keys}:/root/.ssh:ro dev-reward-script
-
Install dependencies
./install.sh
-
Run the script
./proof-sh/proof.sh
-
Install python
-
Install dependencies
./install.sh
python3 -m venv claim-venv
source claim-venv/bin/activate
pip3 install -r python/requirements.txt
-
Run the script
python3 python/proof.py
-
Enter the
web
directorycd web
-
Download the metadata.json file
curl https://fluence-dao.s3.eu-west-1.amazonaws.com/metadata.json > metadata.json
-
Spin up an HTTP server
python3 -m http.server
-
Open
http://127.0.0.1:8000
in your browser and follow the instructions
Also check out paranoid instruction in case you have any security concerns regarding the methods above.