Zeekaptcha
Zeekaptcha is the world’s first Web3 captcha. Unlike Web2 captchas, the verification is done in a smart contract enabling on-chain reputation, bot-resistant smart contract applications, and more.
We have a vibrant community of developers helping each other in our Telegram group. Join us!
npm i zeekaptcha
This library allows you to use the <Zeekaptcha/>
React component to fetch a captcha, prove it, and submit the proof to the Sepolia blockchain.
To query blockchain events, import the getEvents(address: string)
function to return the events for a given address.
You can find the documentation here!
The docs are the best starting point as they give context for Zeekaptcha, go into how it works, and provide details on getting started.
Quick overview of the stack:
- Circom: Generates zero-knowledge proofs for proving correct solutions to the captchas.
- React: Efficient UI state management.
- Tailwind CSS: Employs Tailwind CSS for sleek and responsive design.
- API Integration: Challenges are fetched dynamically via a dedicated API. These challenges get recycled every 2 minutes.
- ethers.js: Creating the transaction to attest the captcha on-chain.
If you encounter any problems or have suggestions, please file an issue in the repo or reach out to us on Telegram.