Giter Site home page Giter Site logo

dev-rewards's Introduction

Fluence Developer Rewards

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

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.

dev-rewards's People

Contributors

akim-bow avatar elshan-eth avatar nahsi avatar valeryantopol avatar skylenet avatar aaronchen0 avatar blechschmidt avatar eltociear avatar phryneas avatar lvelvee avatar nazar-pc avatar rvagg avatar anomalroil avatar kentio avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.