Skip to main content
Declare your policies in credible.toml, then create a release with pcl apply. Prerequisites:

Step 1: Authenticate

Before deploying, authenticate with the Credible Layer:
pcl displays a device code and verification URL. Press Enter to open the browser. Sign in and approve the request.
Confirm that the intended Protocol Manager is authorized for the contracts in credible.toml. Platform login and on-chain management authority are separate. See Managing Policy Deployments for the supported authorization path.
Check your status anytime:
For Ethereum production, complete guard coverage, routing, and recovery planning separately. Creating or activating a release does not configure those controls.

Step 2: Configure credible.toml

Create assertions/credible.toml to declare the protected contracts and their assertions:
To protect multiple contracts, add more entries:
Each contract address must be unique within the configuration. See the pcl Reference for all available fields.
Set project_id to skip interactive project selection, including in CI.
Declare the complete policy set for the replacement release, including policies you want to retain. Omitting a contract or assertion proposes its removal as part of that release; it does not remove an assertion individually from the active release. Review the full diff before signing. Changes take effect after deployment approval and the State Oracle delay.

Step 3: Apply Your Assertions

Create a release on the platform:
The command builds the configured assertions and previews changes against the project state. Confirm to create a pending release. You’ll be prompted to confirm before applying. Use --yes to skip the confirmation prompt:
pcl apply automatically builds your project. You can also run pcl build separately to check for compilation errors before applying.

Step 4: Review and Deploy in the Platform

Open the release under Releases in your project and follow Review and Deploy Policies. The release becomes active after an authorized manager signs the deployment and the State Oracle delay expires.

Troubleshooting

Authentication Issues

Apply Issues

Next Steps

Review and Deploy Policies

Complete deployment in the platform

pcl Reference

Full command reference

Testing Assertions

Test before deployment

Troubleshooting

Common issues and solutions