Skip to main content
1

Sign up

The Predicate application is your single interface for managing the Predicate integration and policy management. Request an email invitation from the Predicate team.
2

Set Policy

Set the policy for the contract you’ve deployed during the onchain integration step.
3

Test Integration

Call the Predicate API to ensure the contracts you’ve deployed in the previous step have been configured correctly.

Sign Up

Once your contract is deployed, navigate to the Predicate Application and create your organization. As part of the onboarding process, make sure to add the address from the deployed smart contract or program.

Set Your Policy

If you haven’t set your policyID as part of your deployment, navigate to the Policy tab on the application and set it there. You will need to have access to the wallet which is the owner of the setPolicy method on your smart contract / program.

Test Your Integration

Generate an API key from the Admin tab and run the following curl command to confirm your application has been deployed correctly. You should see the request populate on the App’s Home page.
Template for Predicate API call
curl --location 'https://api.predicate.io/v2/attestation' \
--header 'x-api-key: {PREDICATE_API_KEY}' \
--header 'Content-Type: application/json' \
--data '{
    "to": "{YOUR_CONTRACT_ADDRESS}",
    "from": "0x4675C7e5BaAFBFFbca748158bEcBA61ef3b0a263",
    "data": "0x",
    "msg_value": "0x",
    "chain": "ethereum"
  }'
Example Success Response
{
  "policy_id": "policy_abc123def456",
  "is_compliant": true,
  "attestation": {
    "uuid": "550e8400-e29b-41d4-a716-446655440000",
    "expiration": 1696640400,
    "attester": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
    "signature": "0x1b2c3d4e5f6789abcdef0123456789abcdef0123456789ab"
  }
}
If you encounter errors, see our common errors page to assist in resolution.

Explore the Application

  1. Invite Team Members - Collaborate with your development team
  2. Explore Policy Templates - Choose from pre-built compliance rules
  3. Monitor Request Traffic - Get observability into your integration