Skip to main content

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.

Six Anchor programs split the on-chain logic by responsibility:
ProgramResponsibility
nacre_two_way_pegMint/burn state machine. Owns deposit attestations, withdrawal requests, fee math.
nacre_liquidity_managementwPRL 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_managementValidator margin pool + protocol treasury.
nacre_protocol_configTunable parameters (fee bps, validator margin, pause flag, admin pubkeys).
nacre_validator_registrySource of truth for which P-256 keys count toward the quorum.
Each program is independently upgradeable by the admin multisig, subject to a 14-day timelock for two_way_peg and liquidity_management.