credible.toml, then create a pending release with pcl apply. This guide ends with a release ready for review; signing and activation follow in Review and Deploy Policies.
Prerequisites:
- Approved policies and assigned reviewers
- pcl installed
- An assertion written and tested
- A project created in the platform
Step 1: Authenticate
Before creating the release, authenticate with the Ethereum platform:pcl displays a device code and verification URL. Press Enter to open the browser. Sign in and approve the request.
Before creating the release, assign the Protocol Manager and confirm that it is authorized for the contracts in
credible.toml. Platform login and onchain management authority are separate. See Managing Policy Deployments for the authority boundaries and Assign a Protocol Manager for the setup task.Step 2: Configure credible.toml
Create assertions/credible.toml to declare the protected contracts and their assertions. These examples prepare an Alerting release so you can observe policy behavior. For an approved production rollout, set environment = "production" after completing the integration test plan. Replace the address and file placeholders with your reviewed targets:
Each contract address must be unique within the configuration. See the pcl Reference for all available fields.
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:--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: Verify the Prepared Release
Open the new release under Releases in the selected project. Confirm its environment, target contracts, and complete assertion additions and removals against the preview you approved. The result is a pending release, not active protection. Continue directly to Step 4: Review Release Checks; do not repeat authentication, project creation, orpcl apply. An authorized manager must then sign deployment, and activation follows the configured delay.
Troubleshooting
Authentication Issues
Apply Issues
Next Steps
Review and Deploy Policies
Review the prepared release and authorize deployment
pcl Reference
Full command reference
Testing Assertions
Test before deployment
Troubleshooting
Common issues and solutions

