Credible Layer
PCL CLI Reference
Reference documentation for the PCL command-line interface
Overview
PCL (Phylax Credible Layer) CLI is a command-line tool for interacting with the Credible Layer.
- For installation: Installation Guide
- For getting started: Quick Start Guide
Global Options
Commands
phorge
A minimal fork of Forge with functionality for assertion execution.
build
Build the project and assertions.
store
Submit Assertion bytecode and source code to the Assertion DA.
submit
Submit assertions to the Credible Layer dApp.
If not specified, the command will prompt interactively to select the project and assertion(s).
auth
Manage authentication with your Credible Layer dApp account.
Project Structure
PCL expects the following directory structure:
Environment Variables
PCL_ROOT_DIR
: Root directoryPCL_ASSERTIONS_DIR
: Assertions directoryPCL_DA_URL
: Assertion DA URLAUTH_BASE_URL
: Authentication service URL
Configuration
PCL stores configuration in ~/.pcl/config.toml
, including authentication credentials, prepared assertions, and user preferences.
Getting Help
For detailed help on any command:
Troubleshooting
- Authentication Errors: Run
pcl auth login
- Build Failures: Check assertion syntax and dependencies