Integration Phases
Phase 1: Offchain Integration
Set up your project, configure a policy, and integrate the Predicate API into your application. Policy evaluation works end-to-end without any smart contract deployment.
Phase 2: Onchain Enforcement
When you’re ready to enforce compliance at the smart contract level, deploy a Predicate-enabled contract and update your offchain integration to submit attestations onchain.
Phase 1: Offchain Integration
Get Predicate working in your application.1
Dashboard Setup
Create your project, configure a policy, and generate API credentials.Go to Dashboard Setup →
2
Offchain Integration
Integrate the Predicate API into your backend to evaluate users against your policy.Go to Offchain Integration →
Phase 2: Onchain Enforcement
Enforce compliance at the smart contract level.1
Deploy Contract
Deploy a contract that inherits from
PredicateClient and requires valid attestations.Go to Onchain Enforcement →2
Update Offchain Integration
Modify your API calls to target your contract address and pass attestations to your contract functions.Go to Onchain Integration →
