Sample apps demonstrating how to use the Gitcoin Passport Scorer API
There are three sample apps, each contained in their own directory.
- score-showcase
- The most basic sample app. Demonstrates how to query for a user's passport score via the scorer API and display it to them.
- score-gating
- Demonstrates how to query for a user's passport score via the scorer API and use it to determine if they can view gated content.
- airdrop
- Demonstrates how to integrate the passport scorer API into a realistic airdrop app.
Each sample app is a Next.js app and can be started by following the instructions found within each README.md
file.