Documentation

Architecture overview

Six contracts, each with one job, live on casper-test.

  • Credential Registryper-holder credential (commitment, nullifier, status, bonded signer set); attest, revoke, officer actions, role grant/revoke/renounce.
  • Groth16 Verifieron-chain pairing verification — used only by the fraud-challenge path.
  • Challengeeconomic fraud disputes: bond, challenge, resolve → slash + burn, withdraw.
  • Transfer Filterthe recipient-aware CEP-78 hook — checks sender and recipient are live; fail-safe deny.
  • Writ CEP-78the RWA bond NFT (real CEP-78), wired to the filter and mint-gated.
  • Writ Tokenthe writ-token and its Odra transfer filter.

The full system design, data flow, and trust model are in ARCHITECTURE.md; the closed attack surface and test coverage in ADVERSARIAL_TESTING.md.