Six Anchor programs split the on-chain logic by responsibility:Documentation Index
Fetch the complete documentation index at: https://docs.nacrelabs.xyz/llms.txt
Use this file to discover all available pages before exploring further.
| Program | Responsibility |
|---|---|
nacre_two_way_peg | Mint/burn state machine. Owns deposit attestations, withdrawal requests, fee math. |
nacre_liquidity_management | wPRL vault. Holds the SPL mint authority. Store / Retrieve only via CPI. |
nacre_layer_ca | ”Cold-account” registry. Maps Pearl reserve addresses to on-chain config. |
nacre_layer_fee_management | Validator margin pool + protocol treasury. |
nacre_protocol_config | Tunable parameters (fee bps, validator margin, pause flag, admin pubkeys). |
nacre_validator_registry | Source of truth for which P-256 keys count toward the quorum. |
two_way_peg and liquidity_management.