Skip to main content
Onchain enforcement requires users to submit valid attestations to your smart contract. The contract verifies the attestation before executing protected business logic.
1

Deploy your contract

Inherit from PredicateClient and set your verification_hash as the policyID.
2

Add contract to dashboard

Register your contract address in the dashboard to link it to your project.

Installation

Choose Your Client

Both clients use ERC-7201 namespaced storage for upgrade safety and are audited.

Example Contract

Set your verification_hash from the dashboard as the policyID when deploying.

Constructor Parameters


Add Contract to Dashboard

After deploying, add your contract address to your project in the dashboard. This links your contract to your policy configuration.

Next Steps

Continue to Onchain Integration to update your offchain code.