Integration

Only needs to be done once

Integrating with Passport is built with the following ideas in mind:

  • Terra first: The Passport team read through the source code of many of the biggest projects on Terra and used that to structure the product and integration.

  • Modularity. Passport is built to be flexible and extensible, offering granular building blocks (primitives) that can be used to create easily fork-able protocol-specific scores.

  • Simplicity. Passport is extremely easy to use. The API integration is trivial and the Smart Contract integration only takes a few hours.

There are two approaches that protocols can take to integrate with Passport Protocol:

  • API integration: If the score computation happens off-chain, then the protocol can use Passport's web2 API to calculate the scores

  • Smart contract integration: If the score computation happens on-chain, then the protocol can query Passport's smart contract to calculate the scores

Last updated