New to
pcl? Start with Store and Submit Assertions to understand the workflow.Global Options
Commands
Commands are listed in the order they are usually used in the assertion development workflow.auth
Manage authentication with your Credible Layer dApp account.
auth login
Login to pcl using your wallet. Opens a browser window for wallet authentication.
auth logout
Logout from pcl and clear local authentication token.
auth status
Check current authentication status.
test
Run tests for your assertions.
pcl test uses Forge underneath for test execution. Note that pcl uses an older version of Forge, so newer Forge features may not be available. The Forge version is periodically updated to include new features. See the Forge test documentation for all available options.build
Build contracts using phorge.
pcl build will be run automatically if the project hasn’t been built yet when using pcl store.store
Submit assertion bytecode and source code to the Assertion DA.
submit
Submit assertions to the Credible Layer dApp.
If you have stored several assertions that you want to submit to the same project, it’s fastest to use the interactive mode for selecting the project and assertions.
config
Manage your pcl configuration including authentication token, pending assertions for submission, and project settings.
config show
Display the current configuration stored in ~/.pcl/config.toml.
config delete
Delete the current configuration file.
Environment Variables
PCL_AUTH_URL
Base URL for authentication service. Default: https://app.phylax.systems
PCL_DA_URL
URL of the Assertion DA server. Default: https://da.phylax.systems
PCL_API_URL
Base URL for the Credible Layer dApp API. Default: https://app.phylax.systems/api/v1
Configuration File
Configuration is stored in~/.pcl/config.toml and includes:
- Authentication token
- Pending assertions for submission (assertions that have been stored but not yet submitted)
- Project settings
pcl config show or delete it with pcl config delete.
Next Steps
Store and Submit
Learn how to use pcl in your workflow
Quick Start Guide
Step-by-step tutorial for your first assertion
Installation
Install pcl
Deploy with dApp
Deploy assertions to protect your contracts

