Skip to main content

One Abstraction

Predicate provides a single integration that abstracts away all compliance and policy enforcement complexity. Once integrated, you can get back to building what matters most—your core product—while Predicate automatically handles policy enforcement in the background. As your organization scales across different geographies with varying regulations, or as your business requirements evolve, your team can create and modify policies without touching your smart contracts or disrupting your development workflow. We offer two solutions:
Light mode system diagram

Core Components

Web Application: The server hosting the application business logic that calls the Predicate API before processing each transactionPredicate API: Performant RESTful service that evaluates a transaction against a policy and returns a signed compliance attestation for onchain enforcementOnchain Application: The smart contract(s) containing your application business logic (e.g. vault) with one or more predicated functionsPredicate Registry: Predicate-owned smart contract used to verify compliance attestations on behalf of the onchain application

The E2E Attestation Process

  1. The app backend sends transaction context to the Predicate API.
  2. The Predicate API resolves the policy for the target contract and chain, then evaluates compliance.
  3. The API returns is_compliant and a signed attestation.
  4. The attestation is included in the onchain transaction and verified by the Predicate Registry before execution.
Light mode sequence diagram
Low latency is critical to ensuring a seamless user experience.We’ve heavily optimized the Predicate API to deliver fast responses, with the average round-trip time for an attestation request consistently under 400ms.