If you’re a Gitcoin Passport user interested in setting up a Passport and connecting Stamps to it, head to our support site (opens in a new tab) for more info.
Passport is a tool that allows users to present evidence that they are real, unique humans and signal their trustworthiness to apps. It is a way to collect and present data without exposing it or giving up ownership.
Under the hood, it is a unique decentralized identifier (a DID) associated with your Ethereum address, stored on the Ceramic network.
The DID can be used to look up a user's Stamp data, which exists as a collection of Verified Credentials.
Verified Credentials do not contain any personal identifying information! They simply demonstrate, using a cryptographic signature, that the user gave access to a specific app and that some criteria were met.
Developers can integrate Passport in a variety of different programs and apps in the web3 ecosystem, as demonstrated by the following use case examples:
- Sybil resistance for faucets, bundlers and airdrops
- Gating access to content, events, polls, or communities
- Priority weighting votes
- Proving trustworthiness
Passport is a versatile and valuable tool for managing access, promoting transparency, and establishing trust within different web3 environments.
Passport score and Stamp data can be retrieved in two ways:
- Passport API: Retrieves data associated with a specific address from the Gitcoin server.
- Passport Smart Contracts: Interacts with a blockchain to retrieve data associated with a specific address.
The Passport API serves as a powerful tool for developers, offering access to Passport scores and Stamps via several REST endpoints.
Passport's smart contracts enable you to pull score and Stamp data directly from the blockchain to enable a truly decentralized integration.
Passport's GTC staking endpoint enables developers to analyze and build with GTC staking data.
With this endpoint, developers should build solutions that help increase the amount of GTC staked on trusted entities, effectively growing the GTC trust graph.
To begin your development journey with Passport API, follow these steps:
- Get access to the API
- Use the API playground tool (requires API keys) (opens in a new tab)
- Get to "Hello World" with the API
- Choose a tutorial that best matches your use case. Review the example code and integrate
By following these steps, you'll be well-equipped to start integrating Passport into your platform.
If you have more questions you can chat on our developer support channel on Discord (opens in a new tab).