Skip to main content
Declare your policies in 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:

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.
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. 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:
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. This is also required for local-only pcl apply --dry-run validation. Without it, dry-run authenticates and queries the platform to select a project; it still does not create a release.
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: 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, or pcl 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