Introduction
This guide provides a detailed walkthrough on how to integrate your smart contract with PureFi SDK-Solidity to add compliance and KYC (Know Your Customer) verification capabilities. The integration is based on the PureFiVerifier contract, and this guide focuses solely on the integration process, regardless of your contract's specific functionality.
PureFi SDK-Solidity is a toolkit for smart contracts that enables verification of signed data (payload) from users, ensuring they have passed necessary KYC checks through the PureFi system. The primary component you'll interact with is the PureFiVerifier contract, which handles payload validation.
The goal of this integration is to enable your smart contract to:
- Accept a payload from the user.
- Validate it via
PureFiVerifier. - Execute actions only upon successful validation.
Let’s dive into the step-by-step process.