- pcl installed
- An assertion written and tested
- A project created in the platform
Step 1: Authenticate
Before storing or submitting, authenticate with the Credible Layer:pcl automatically detects the authentication.
Check your status anytime:
Step 2: Store Your Assertion
Upload your assertion bytecode and source code to Assertion DA:pcl store automatically builds your project if needed. You can also run pcl build separately to check for compilation errors.Step 3: Submit to Your Project
If you haven’t created a project yet, do that first in the platform.
Step 4: Deploy in the Platform
After submitting, complete deployment in the Phylax platform using the Deploy Assertions guide:- Navigate to your project
- Click “Deployment” tab
- Find your assertion and click “Proceed to Review”
- Select the target contract and environment (Staging or Production)
- Click “Deploy” and sign the transaction
Submitting through
pcl does not make the assertion active by itself. The assertion becomes active only after you deploy it through the platform and the configured timelock in the on-chain State Oracle contracts expires. Removals follow the same State Oracle timelock flow.Troubleshooting
Authentication Issues
| Error | Solution |
|---|---|
| ”Not authenticated” | Run pcl auth login |
| ”Authentication expired” | Run pcl auth login to refresh |
| Browser doesn’t open | Manually visit the URL shown in terminal |
Submission Issues
| Error | Solution |
|---|---|
| ”Project not found” | Create the project in the platform first |
| ”Assertion not found” | Check assertion name matches exactly |
| Constructor args mismatch | Use same args format as when storing |
Next Steps
Deploy with the Platform
Complete deployment in the platform
pcl Reference
Full command reference
Testing Assertions
Test before deployment
Troubleshooting
Common issues and solutions

