Configure and Test

1

Application Sign Up

The Predicate application is your single interface for managing the Predicate integration and policy management
2

Set Policy

Set the policy for the contract you’ve deployed in the previous step
3

Test Integration

Ensure the contracts you’ve deployed in the previous step have been deployed and 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 contract address from the previous step.

Set Your Policy

If you haven’t set your policyID as part of your deployment, set it now. Navigate to the Policy tab on the application to set your first policy. You will need to have access to the wallet which is the owner of the setPolicy function.

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: If your contract is on testnet replace the URL with https://staging.api.predicate.io/v1/task
Template for Predicate API call
curl --location 'https://api.predicate.io/v1/task' \
--header 'x-api-key: {PREDICATE_API_KEY}' \
--header 'Content-Type: application/json' \
--data '{
  "from": "{WALLET_ADDRESS}", 
   "to": "{DEPLOYED_CONTRACT}",
  "data": "0x", 
  "msg_value": "0",
  "chain_id": {CHAIN_ID}
  }'
Example Success Response
{
    "is_compliant": true,
    "signers": [
        "0xDAc74b6f9B3609E914c924eB87Adff87A30fcDf6"
    ],
    "signature": [
        "0x35e593a668ec29bab179b2b0a7f83199c2ff58144fd4468014b7f0a92483fdc54d9e484454cb6eb7e5a055d5b533ae4fe603668c7c65477f8013e53438edc28a1c"
    ],
    "expiry_block": 1752704559,
    "task_id": "9b1446bd-31d8-42d7-8890-61e5130d73b4"
}

Troubleshooting

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