@subhashkarri.near [Posted on DevHub](/devgovgigs.near/widget/Post?id=1969) ## Solution: Integrating Reclaim to NEAR ###### Requested amount: 50000 USDC ###### Requested sponsor: @neardevgov.near **Reclaim Protocol - Bringing Web2 Identity to Web3** Reclaim Protocol makes https traffic verifiable using Zero-Knowledge Proofs, enabling users to generate verifiable credentials from any of their online user profiles. This unlocks unlimited possibilities as no APIs are required to extract the data or no changes to be made to the websites, while guaranteeing data integrity. Web2 user data which was elusive to Web3 till now will be available across dapps on NEAR. This opens up opportunities for a new wave of applications in privacy, sybil resistance, proof of personhood, KYC and many more. Dapp developers can leverage Reclaim protocol to build multiple use cases related to **KYC, sybil resistance, proof of personhood, etc** on top of NEAR using Reclaim protocol. We thank Illia Polosukhin, Cameron Dennis and Zahid Islam for providing valuable inputs in drafting these proposals. **Technical Overview** Reclaim empowers users to generate Zero-Knowledge Proofs for any online user profile. To generate a claim, users first need to log into the relevant website. This login process, involving an HTTPS request and its subsequent response, is channeled through an HTTPS Proxy Server known as an 'attestor'. This attestor oversees the encrypted data exchange between the user and the website. Subsequently, users provide keys that disclose non-sensitive parts of the request to the attestor. With this, the attestor can view the request in its entirety, barring confidential details like authentication data, and can confirm its legitimacy. The website's encrypted response is then processed by a zk-circuit, which identifies a regex match within the encrypted data using a decryption key as a confidential input. The attestor further validates that the zk-circuit's public input was indeed the encrypted data sourced from the website. With these attestations on both the request and the encrypted response, coupled with the zk-proof, any third-party application, whether on-chain or off-chain, can verify the existence of data that exists on the user’s profile. [Reclaim Proof Creation](https://drive.google.com/file/d/1UELwEwh7e7NTTnVB89ePZmlwu7erDrgA/) [Reclaim ZKP Circom Circuit](https://drive.google.com/file/d/1zEK5v6VKk0O007bLJIqZ5WxWRBJkORwX/) User credentials in Reclaim Protocol are generated and stored completely on the client side. **Using Reclaim, users can generate Proofs(Groth16) in less than 10 secs even on a 2015 Android Device!** - **Product Demo** https://www.loom.com/share/5f497f8b0a5342d3b6e43dc35d2b41fd - **Grant Proposal - Integrate Reclaim with NEAR** As part of this proposal, we will implement the following: - Research NEAR core protocol, its design, architecture and share implementation specification documents with the NEAR team for feedback and comments - Integrate Reclaim Protocol with NEAR - Create documentation to help builders in the NEAR ecosystem on using Reclaim SDK in their dapps - A blog post and podcast to detail Reclaim protocol and its benefits to NEAR - Organize NEAR + Reclaim community hackathon(s) to evolve new ideas and subsequently Dapps in the identity/reputation/verification space - **Benefits to NEAR** 1. **Enhanced Interoperability**: - By allowing Dapps on NEAR to access data from Web2 platforms, we can significantly expand the range of applications and use cases that can be developed on NEAR, especially those focussed around KYC, sybil resistance, proof of personhood, thus driving significant ecosystem growth. 1. **User-Centric Data Access:** - Reclaim’s commitment to self-sovereignty and user consent in data access aligns with the decentralized and user-centric principles of the NEAR ecosystem. This ensures that Dapps built on NEAR utilizing Reclaim Protocol are adhering to robust data privacy and user consent norms. 2. **Enabling New Use-Cases:** - By facilitating access to off-chain user data, Reclaim Protocol can enable the development of [new, innovative use-cases](https://blog.reclaimprotocol.org/posts/usecases/) on NEAR, such as Skill IDs, P2P onramp/offramp, Gossip marketplaces, or social Dapps that utilize user data from Web2 platforms. 3. **Enhanced Developer Mindshare:** - By facilitating new and unique use cases that leverage off-chain data, Reclaim protocol will attract a broader developer community to NEAR enriching its ecosystem and increasing its competitive edge - **Grant Request Overview** $50,000 **Funding Milestones** - Project Kickoff & grant approval - $5,000 - Reclaim NEAR Integration - $30,000 - Comprehensive documentation, blogposts, and community calls within the NEAR ecosystem - $5,000 - Integrate Reclaim Protocol with atleast 2 Dapps within the NEAR ecosystem in 3 months - $10,000 After completing the deployment of Reclaim smart contracts on NEAR, we'll require assistance from the NEAR team for joint marketing efforts to increase Reclaim’s visibility among developers in NEAR ecosystem and to encourage developers to build novel use cases on top of NEAR using Reclaim. Some of the use cases can be from the following - https://blog.reclaimprotocol.org/posts/usecases/ *Note: We are submitting a second funding proposal to launch the initial ‘NEAR+Reclaim’ hackathon to NEAR Hackbox to find developers to build on some of the above novel use cases and beyond.* **Relevant Links** Website - https://www.reclaimprotocol.org/ Whitepaper - https://link.reclaimprotocol.org/whitepaper-draft Blog - https://blog.reclaimprotocol.org/ SDKs: https://docs.reclaimprotocol.org/install **Current Focus Area** 1. With Reclaim protocol now live on production for more than two month, we are working towards helping reputed ecosystems such as NEAR that are exploring identity solutions build stronger infrastructure and subsequently, fast forward their growth. 2. Working with 150+ experienced and high quality developers to integrate or build novel use cases using Reclaim Protocol. Some of the examples include **[decentralised P2P exchange](https://www.p2px.finance/),** which has already done $100,000 in volumes in just three weeks, [Whistleblower](https://whistleblower-frontend-acez.onrender.com/), Cupid Coin, and [Coded Estate](https://codedestate.com/) 3. **Perfecting Developer Experience** - Providing a seamless Reclaim integration experience to external developers and users using Reclaim by streamlining various touchpoints such as developer documentation, SDKs, developer journey, user journey etc. 4. Accessing trusted user data without APIs is disruptive even in Web2 and we are seeing a strong traction in Web2. Some of examples of integrations that we are actively pursuing include: 1. Creditcard (Unicards) company using Swiggy (Doordash of India) delivery address as the active address to verify address proofs instead of sending a person physically to verify 2. Coupon Discount (Froogal, Equal) company using orders from online delivery apps to give discounts, offers and loyalty points for walk in customers 3. Dating app (Handshake) using official name from Banks, National ID (like IRS, Aadhaar, ...) to verify people are who they claim to be 4. KYC Company (Synaps) using various sources like Binance, Coinbase, France Govt Login to speed up KYC process for low risk customers 5. Lending company (Salt, YC S22) using sales data from etsy, shopify, ebay and amazon to underwrite lending risk 5. B2G: We signed an [MOU with Govt. of India skilling agency - NIELET](https://x.com/questbookapp/status/1698770135702724931?s=20) to use Reclaim credentials for their certifications. Exploring similar Citizen credentialing usecases in Turkey and Dubai at this time. - **Team Details** Reclaim Protocol is built by the team at CreatorOS Inc. We are a 35+ member engineering and web3 product development & research team including ZKP researchers and with previous affiliations to Stanford, Microsoft, Meta and Google . We have also built - [Questbook.app](http://Questbook.app), an industry leading on-chain grants management tool that is used by some of the major L1/L2s including Polygon, Solana, Compound, Arbitrum, Ton, among others. CreatorOS is a YC W21 company. - Madhavan Malolan : CEO - Building in crypto since 2016. - Among first 5 contributors to Plasma (ethereum scaling solution) specifications. - Open source contributor. - ex-Microsoft, Computer Science IIIT-H. - [LinkedIn.](https://www.linkedin.com/in/madhavanmalolan/) [Github](https://github.com/madhavanmalolan) - Abhilash Inumella : Co-founder, Leads Product - Building in Crypto since 2019. - ex-CEO of Samosa Labs (10M users, funded by Sequoia, Xiaomi). - Ex-Google, Ex-Facebook, Computer Science IIIT-H. - [LinkedIn](https://www.linkedin.com/in/abhilash-inumella-89a92421/). - Max Allman, Mechanism Design Researcher - PhD from Stanford in Mechanism Design and Game Theory - Co- author of the [Reclaim Whitepaper](https://drive.google.com/file/d/1wmfdtIGPaN9uJBI1DHqN903tP9c_aTG2/view) - [Kirill Kutsenok](https://www.linkedin.com/in/kirill-kutsenok/), Cryptography & Security Researcher - [Adhiraj](https://www.linkedin.com/in/adiwajshing/) Singh: Lead Developer - [Sweta](https://www.linkedin.com/in/sweta-shaw/) Shaw: Developer Relations - Aleksai Ermishkin: Lead Blockchain Developer