OG Gating
OG Gating provides a method for gating by a score generated based on how "OG" the user is. Using ZK Proofs, we calculate a score based on the age of their EOA.
Screenshots



Problem Statement
Coming from a week of DevCon, we all know how large the Ethereum community has become. There are many many sub-communities which vary greatly, and sometimes, there are reasons to gate based on more seasoned members in the community. This project provides a trustless method for generated an "OG" score which can then be used on-chain for arbitrary actions--in this project we use it to mint the OG NFT. Of course, we implement sybil resistance via worldcoin to ensure each user can only gain access to this item once.
Solution
Most of the hackathon was spent working on a brevis integration to generate ZK proofs using the brevis coprocessor to generate the OG ranking in a trustless manner. Unfortunately, Brevis disabled the ability to prove transaction details required for this project so we were unable to continue with brevis. In the end we use alchemy to source chain data and generate the scores in a vercel backend. We used next.js via scaffold-eth to build the frontend and integrated worldcoin proof of personhood. The contracts were built in foundry. Contracts repo: https://github.com/Eth-Global-Bangkok-Project/og-gating-contracts
Hackathon
ETHGlobal Bangkok
2024
Prizes
- 🏆
Blockscout Explorer Big Pool Prize
Blockscout
- 🏆
World Pool Prize
World
Contributors
- technophile-04
120 contributions
- carletex
100 contributions
- rin-st
49 contributions
- sverps
26 contributions
- damianmarti
14 contributions
- Pabl0cks
13 contributions
- edakturk14
11 contributions
- portdeveloper
8 contributions
- KcPele
7 contributions
- Naim-Bijapure
6 contributions
- austintgriffith
5 contributions
- kevinjoshi46b
4 contributions
- kmjones1979
3 contributions
- FilipHarald
3 contributions
- lukaw3d
2 contributions
- simplemachine92
2 contributions
- ShravanSunder
2 contributions
- MukulKolpe
2 contributions
- JacobHomanics
2 contributions
- ChangoMan
2 contributions
- camdengrieh
2 contributions
- ByteAtATime
2 contributions
- arr00
2 contributions
- metoinside
1 contributions
- nathan-websculpt
1 contributions
- iPaulPro
1 contributions
- bpierre
1 contributions
- tjayrush
1 contributions
- RogerPodacter
1 contributions
- yasuke0x0
1 contributions