/dev-rewards

Primary LanguagePythonApache License 2.0Apache-2.0

Fluence Developer Rewards

Generate proof (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 --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 --network none -v /{dir_path_for_your_ssh_keys}:/root/.ssh:ro dev-reward-script

Generate proof (local sh script)

  1. Install dependencies

    ./install.sh

  2. Run the script

    ./proof-sh/proof.sh

Generate proof (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