Skip to main content

Contract repo layout & workflows

This page links to existing Catalyst contract repos and recommended workflows.

Canonical repos

  • Identity contracts (Foundry): catalyst-identity-contracts
    Designed to be usable by wallets/nodes that can only read raw EVM storage (catalyst_getStorageAt).
  • General contracts: catalyst-contracts (currently minimal; expect changes)
  1. Write + test contracts:
forge test -vvv
  1. Compile:
forge build
  1. Deploy via Catalyst tooling (CTX2):

Verify

  • Track deployments per chainId (store addresses in deployments/<chainId>.json, or similar).
  • Always verify code exists via catalyst_getCode.