Skip to main content

Step 1: Key Components

Before starting the integration, let’s review the key components of PureFi SDK-Solidity:

  • PureFiVerifier:

    • The core contract for validating payloads.
    • Verifies signatures, data freshness, session uniqueness, and access rights.
    • Accessible via the IPureFiVerifier interface.
  • PureFiIssuerRegistry:

    • Manages the list of authorized issuers who sign payloads.
  • PureFiDataLibrary:

    • A library for parsing payload data (e.g., extracting sender addresses).
  • CustomRevert:

    • A library for gas-efficient error handling.

Your smart contract will primarily interact with PureFiVerifier, while other components are used indirectly through it.