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

add poap badges verification #7682

Merged
merged 3 commits into from
Nov 11, 2020
Merged

Conversation

hhio618
Copy link
Contributor

@hhio618 hhio618 commented Oct 15, 2020

Description

Added POAP badges verification.

Done
  • If the ethereum account logged in on Gitcoin holds a POAP NFT that has been sitting in that wallet for more than 15 days, it can be assumed that it's a unique human.
WIP
  • Add test
  • Add a mechanism when "Someone has prepared beforehand the round (more than fifteen days earlier) and shuffled the POAPs to many different accounts." (@poapxyz)
Refers/Fixes

gitcoinco/skunkworks#187

Testing

output

@hhio618 hhio618 force-pushed the poap-verification branch 2 times, most recently from 992eb2d to 133be88 Compare October 15, 2020 18:56
@hhio618 hhio618 changed the title add poap badge verification add poap badges verification Oct 15, 2020
@thelostone-mc
Copy link
Member

@hhio618 good progress ! I'm shifting this to draft until you wrap up the pending tasks -> do turn it on as an active PR once it's good for review

@thelostone-mc thelostone-mc marked this pull request as draft October 20, 2020 06:49
@hhio618 hhio618 closed this Nov 2, 2020
@hhio618
Copy link
Contributor Author

hhio618 commented Nov 2, 2020

Hey, @thelostone-mc. This feature is ready to be tested. I'll start to add some unit tests.

@hhio618 hhio618 reopened this Nov 2, 2020
@hhio618 hhio618 marked this pull request as ready for review November 2, 2020 15:16
@thelostone-mc thelostone-mc requested a review from apbendi November 5, 2020 11:10
app/dashboard/views.py Outdated Show resolved Hide resolved
patch Outdated
@@ -0,0 +1,306 @@
diff --git a/app/assets/v2/js/pages/profile-trust.js b/app/assets/v2/js/pages/profile-trust.js
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets remove this file

@thelostone-mc
Copy link
Member

@hhio618 if you can address the comments , we'll get this in this week

@thelostone-mc thelostone-mc merged commit e57c36a into gitcoinco:master Nov 11, 2020
@owocki
Copy link
Contributor

owocki commented Mar 16, 2021

@hhio618 the POAP owner account id of the user stored anywhere on the DB? during our testing we realized that multiple users could connect to the same account id , which is def a problem for anti-sybil design.

would you be able to PR a fix for that? happy to pay in ETH :)

@hhio618
Copy link
Contributor Author

hhio618 commented Mar 17, 2021

Sure, I will try to fix this asap!

@hhio618 hhio618 mentioned this pull request Mar 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants