gitcoinco / skunkworks

experimental laboratory
63 stars 35 forks source link

Build HoneyPot.Money #207

Closed owocki closed 2 years ago

owocki commented 3 years ago

Hello builders!

I am looking for a reliable web developer to build a simple site for me in the next several weeks.

Preface

About the site: Gitcoin is in the middle of a build out of http://proofofpersonhood.com/ - a tool thats going to allow users to take their Gitcoin Grants sybil resistent identity across the dweb with them. We think this is going to unlock a whole ecosystem of one-human-one-vote. Stuff like

We have put together an alpha implementation of this system which you can see here https://github.com/gitcoinco/pop_api and https://github.com/gitcoinco/PersonhoodPassport . Basically the TLDR is that the Gitcoin system issues the user an SDK that allows them to issue a NFT (and soon an DID) to take their PersonhoodScore (PS) with them across the dweb. The higher the personhoodscore, the higher the price of forgery for that identity. A user with a $1 PS has an identity that costs $1 to forge. A user with a $100 PS has an identity that costs $100 to forge, and so on.

Note: Proof of Personhood NFT is already deployed to rinkeby, and will be integrated into Gitcoin's site for alpha users soon, but it is recommended for the build out of this site that you deploy your own version, which can easily be done with the setup instructions in https://github.com/gitcoinco/PersonhoodPassport .

About the app I want you to build

Why build this?

I would like to make a contribution to the advancement of sybil resistance, by creating a crypto economic game, wherein attackers are rewarded to create identities on proof of personhood protocols. This will

  1. onboards more & more people onto sybil resistent identity platforms
  2. effectively creates a 'price of forgery' for each of these protocols. If HoneyPot.Money ran an active campaign that offered $10 to anyone who could claim a verified BrightID identity, and attackers did not manufacture thousands of BrightID identities, then one must logically assume that the cost of forgery for a BrightID identity is more than $10. This enables app builders to build new sybil-resistent games on top of these identity protocols on the trust assumption that the cost of forgery is at least $10.

What does the app do?

Anyway, so here's what I'm thinking. -- HoneyPot.Money; A site where people can get paid to create sybil resistent identities, hardening sybil resistent identity systems by creating a known price of forgery.

Design

Thanks to @melvinalvarez we have a design for this site which exists at https://github.com/melvinalvarez/HoneypotMoney_Design . You should checkout Melvin's repo, but feel free to play with the demo to get a solid feel for what we're doing! Melvin is LEET, hes already spliced up the HTML for you!

Style_Guide

Functionality

Basically the Happy Path is:

  1. User goes to honeypot.money
  2. If no campaign, user is told to come back soon. If active campaign (this will be configured in the DB), user clicks to campaign
  3. At start, we will have an active campaign where a user with a personhood score > 30 can earn $20 in ETH.
  4. User clicks to campaign
  5. User connects to web3.
  6. If user does not have a Proof of Personhood Passport ( PoPP ), they are sent to http://proofofpersonhood.com/ to get one.
  7. If user has a PoPP but not a high enough personhood score, they are sent to https://gitcoin.co/profile/trust to build their PersonhoodScore
  8. If user has a high enough PersonhoodScore (PS) they can click redeem. They sign a message confirming they own the ETH account which holds the PS NFT, which is then broadcast to the server. The server verifies the users ownership of said account, and also that the user holds the NFT with a PS > 30
  9. If successful, the user is sent $20 in ETH on Optimism and shown the success screen.

I would also like a backend admin flow (only I will have admin creds) to:

  1. insert a new private key which can be used to fund the airdrops.
  2. manage which campaigns are active + which are not; add a new campaign.
  3. view stats for campaigns. i want to see, detailes of attempted/succeeded attempts to redeem for each campaign.

About you

I am looking for a skilled + reliable developer whos going to build this out for me + help me deploy the first campaign. I'd prefer to have this built in python/django since we've got a python3 sdk already, but I'm open to any tech stack as long as the dev who works on it follows through and delivers. I'd strongly prefer to use Optimism for this campaign, but I'd be open to other L2 rollup providers too.

In your application, pls indicate your plan for turning this around + maybe write 1 or 2 sentences that makes it clear to me that you've actually read the requirements.

Please DO NOT apply if you do not have cycles for the next 3 weeks to follow through on this + deliver. I dont have the cycles or the time to deal with uncommitted devs.

I'll pay 1.5 ETH to have this coded up. If this goes well it could lead to more engagements with Gitcoin.

gitcoinbot commented 3 years ago

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


This issue now has a funding of 1.5 ETH (2764.04 USD @ $1842.7/ETH) attached to it.

gitcoinbot commented 3 years ago

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


Work has been started.

These users each claimed they can complete the work by 265 years, 8 months from now. Please review their action plans below:

1) iamonuwa has applied to start work _(Funders only: approve worker | reject worker)_.

Jumping on this to work with my main man @owocki 2) zoek1 has been approved to start work.

Sounds very interesting idea i would like tackle this, at this moment i didn't try optimism but i'll be researching that part. 3) tyntyn1 has applied to start work _(Funders only: approve worker | reject worker)_.

Ready Fimishaps impossibe Stk 1017568911 Tên NGUYEN HOANG PHUONG TRU SO CHINH NAM SAI GON NGÂN HÀNG VIETCOMBANK

Learn more on the Gitcoin Issue Details page.

gitcoinbot commented 3 years ago

@zoek1 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

gitcoinbot commented 3 years ago

@zoek1 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

zoek1 commented 3 years ago

Working on that @gitcoinbot, thanks for remind me! 💪

gitcoinbot commented 3 years ago

@zoek1 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

gitcoinbot commented 3 years ago

@zoek1 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

owocki commented 3 years ago

@zoek1 what are you thinking in terms of ETA for a PR?

zoek1 commented 3 years ago

By monday i'll create the PR @owocki. At this moment we're working on the responsive view.

zoek1 commented 3 years ago

Hey @owocki, do you have created a repo for the honeypod stuff? I created this one https://github.com/zoek1/honeypot-client temporarely. Two thing, I moved the UI to React and I'm currently focusing on build the server stuff with django

owocki commented 3 years ago

@zoek1 https://github.com/gitcoinco/honeypot_money just added u

let me know the ETA for a clickable demo!

gitcoinbot commented 3 years ago

@zoek1 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

gitcoinbot commented 3 years ago

@zoek1 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

zoek1 commented 3 years ago

I just see this, today I'll be working on connecting backend and frontend. I'll deploy an instance so you can test it.

gitcoinbot commented 3 years ago

@zoek1 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

zoek1 commented 3 years ago

I progressed on the backend endpoints only, due to non-tech problems i couldn't wired the backend and frontend. I'll take this weekend to close the gap.

gitcoinbot commented 3 years ago

@zoek1 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

owocki commented 3 years ago

@zoek1 can you get a PR together by EOW? i dont mean to be too drastic, but if you're not going to get there pls LMK + we can find someone else.

zoek1 commented 3 years ago

Sure, no problem! @owocki

zoek1 commented 3 years ago

Here my update, today i'll be working on get the brightid id, and trasnfer funds using optimism and that will complete the happy happy path https://github.com/gitcoinco/honeypot_money/pull/1

gitcoinbot commented 3 years ago

@zoek1 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

zoek1 commented 3 years ago

Working on adding optimism, also the admin interface to activate/deactivate is ready. 👍

zoek1 commented 3 years ago

I finished the transfers using optimism, that takes me more time than I expected. Now I'll work on integrate brightid.

gitcoinbot commented 3 years ago

@zoek1 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

owocki commented 3 years ago

thx fofr the update @zoek1 - how confident are you we can have a demo of this ready in the next couple weeks?

gitcoinbot commented 3 years ago

@zoek1 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

zoek1 commented 3 years ago

Yes, i think the next week Will be ready 👍

tra38 commented 3 years ago

Hi @owocki, what is the status on this project? I'm very interested in the idea of a "red team" that exist to accurately figure out the price necessary to conduct a sybil attack - probably because then you can think about how to increase that price to make it impractical. But there doesn't seem to be any activity on this issue since May 4, so I just want to see if anything has happened since then.

owocki commented 3 years ago

it was abandoned.

i'd be interested in picking it up again with someone who can follow thru

zoek1 commented 3 years ago

I'll push the code that i have, the frontend is fully functional and the backend needs update the brightid logic. I can setup an instante to facilitate things but until this weekend due to some personal problems 😅

tra38 commented 3 years ago

If it's only the backend that needs to be fixed, then yeah I can probably jump in. I don't think I will be available this week to work on it though, but I'll see if I can get time to work on it next week (which may be fine, since I'll probably need the instance anyway).

gitcoinbot commented 2 years ago

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


The funding of 1.5 ETH (5987.68 USD @ $3991.78/ETH) attached to this issue has been cancelled by the bounty submitter

owocki commented 2 years ago

new bounty => https://github.com/gitcoinco/skunkworks/issues/282