Skip to main content

PCL CLI Workflows

Home · Generic Index · Chain Overlays

This document captures the high-level workflows implemented by the pcl CLI in credible-sdk/crates/pcl.

CLI Workflow Overview

Notes:

  • pcl build and pcl test run locally using the Foundry toolchain.
  • pcl store submits assertion bytecode and source to Assertion DA.
  • pcl submit registers stored assertions against a project in the dApp API, which then updates the on-chain registry.

Key code paths:

  • CLI entrypoint: credible-sdk/crates/pcl/cli/src/cli.rs
  • DA storage workflow: credible-sdk/crates/pcl/core/src/assertion_da.rs
  • dApp submission workflow: credible-sdk/crates/pcl/core/src/assertion_submission.rs