Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[$3000 IDNA] Integrate Gitcoin with Idena #454

Closed
midenaio opened this issue Oct 5, 2020 · 3 comments
Closed

[$3000 IDNA] Integrate Gitcoin with Idena #454

midenaio opened this issue Oct 5, 2020 · 3 comments

Comments

@midenaio
Copy link
Member

midenaio commented Oct 5, 2020

[$3000 IDNA] Integrate Gitcoin with Idena

Prize Bounty

$3k paid in iDNA (Idena native cryptocurrency)

Challenge Description

Idena is the first proof-of-person blockchain where every node belongs to a certain individual and has equal voting power. It is one of the most decentralized blockchains with 4.5k nodes. To formalize an unique human, Idena does not require the disclosure of any personal data (no KYC). It proves the humanness and uniqueness of its participants by running an AI-hard Turing test at the same time for everyone around the globe.

In order to provide Sybil protection of Quadratic Voting and Gitcoin grants, users may be asked to verify their uniqueness using Idena.

To earn this bounty, you should make a pull request (PR) into Gitcoin repo that integrates Idena.

The bounty is sponsored by the Idena team. It’s fully supported by the Gitcoin team. The results will be evaluated by Gitcoin representatives and Idena team.

Submission Requirements

A demo version has to be provided to demonstrate the following scenario:

  1. The user opens the Trust bonus tab at the Gitcoin user profile page. To increase their Trust Bonus, the user can connect their Idena account. User has to install Idena app and click the Connect button.

image

  1. Idena app pops up automatically when dna:// url is triggered.

image

Example:

dna://signin/v1?token=...randomToken...
&callback_url=https%3A%2F%2Fgitcoin.co
&nonce_endpoint=http%3A%2F135.181.33.166%3A10080%2Fv1%2Fstart-session
&authentication_endpoint=http%3A%2F%2F135.181.33.166%3A10080%2Fv1%2Fauthenticate
&favicon_url=https%3A%2F%2Fs.gitcoin.co%2Fstatic%2Fv2%2Fimages%2Ffavicon.ico%2Ffavicon-32x32.a507b9bfeba8.png

Read more about Sign-in with Idena protocol

The start-session and authenticate endpoints have to be hosted at the Gitcoin side. Here’s the example of Idena auth server: https://github.com/idena-network/idena-auth/

  1. Once the user is connected, the Idena address has to be displayed at the Trust bonus tab together with the Idena account status: Not validated (Undefined), Candidate, Newbie, Verified, Human, Suspended, Zombie.

In order to get a Trust bonus, the user has to have a Newbie, Verified or Human status.
Otherwise the date of the next validation ceremony has to be displayed.

image

To get the status of Idena addresses, a centralized API hosted on the api.idena.io side can be used. Alternatively, an RPC of the Idena node hosted on the Gitcoin side (which provides better security) can be used.

  1. If the user has a valid Idena status (Newbie, Verified or Human) then the Trust bonus has to be applied: 50%. Idena status is not forever: user can terminate Idena account or fail the subsequent validation ceremony. Idena status has to be fetched and verified when it’s needed.

The user can drop the link with their Idena account by clicking the Disconnect button.

image

Judging Criteria

  1. The prize goes to the one who first uploaded the most efficiently implemented and accurately documented PR
  2. You need to comply with Gitcoin guidelines, see their Readme
  3. Deadline for submissions is November 1, 2020
  4. Submissions will be reviewed by both the Idena team and the Gitcoin representative

Gitcoin representative: Kevin Owocki kevin@gitcoin.co

Winner Announcement Date

Shortly after reviewing results by the Gitcoin team and the Idena team.

@gitcoinbot
Copy link

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This issue now has a funding of 0.001 ETH (0.35 USD @ $351.11/ETH) attached to it.

@gitcoinbot
Copy link

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work for 0.001 ETH (0.35 USD @ $353.02/ETH) has been submitted by:


@gitcoinbot
Copy link

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work for 0.001 ETH (0.34 USD @ $350.46/ETH) has been submitted by:

  1. @teeryrey

@midenaio please take a look at the submitted work:

  • PR by @teeryrey

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants