Skip to content

Ankit8848/dev-rewards

 
 

Repository files navigation

Fluence Developer Rewards

This repo allows one to generate a proof signature for Fluence dev reward claiming.

Caution

Beware of scam emails, asking you to generate proofs for someone! See #98.

The methods for generating signature are described below:

Generate proof in docker

  1. Build docker image

    docker build -t dev-reward-script .

  2. 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

Generate proof via local sh script

  1. Install dependencies

    ./install.sh

  2. Run the script

    ./proof-sh/proof.sh

Generate proof via local python script

  1. Install python

    https://www.python.org/downloads/

  2. Install dependencies

    ./install.sh

    python3 -m venv claim-venv

    source claim-venv/bin/activate

    pip3 install -r python/requirements.txt

  3. Run the script

    python3 python/proof.py

Generate proof through a website

  1. Enter the web directory

    cd web

  2. Download the metadata.json file

    curl https://fluence-dao.s3.eu-west-1.amazonaws.com/metadata.json > metadata.json

  3. Spin up an HTTP server

    python3 -m http.server

  4. Open http://127.0.0.1:8000 in your browser and follow the instructions

Notes:

Also check out paranoid instruction in case you have any security concerns regarding the methods above.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 46.0%
  • HTML 36.2%
  • Shell 17.4%
  • Dockerfile 0.4%