Skip to content

Repo Map

PostFiat is organized around protocol crates, operator scripts, status docs, and evidence reports.

Crates

crates/
  types/              protocol data types
  crypto_provider/    account and validator signing boundary
  execution/          deterministic state transition
  ordering_fast/      fast certified ordering path
  consensus_cobalt/   Cobalt governance and adversarial examples
  privacy/            shielded state semantics
  privacy_orchard/    Orchard/Halo2 adapter
  storage/            persistence and snapshots
  network/            validator transport
  node/               node, CLI, RPC, wallet, operations
  rpc_sdk/            Rust RPC SDK
  bridge/             external checkpoint and receipt-proof verification
  pft-token-contracts/ PFT ERC-20 token and Base lock contracts
  ethereum-contracts/ Ethereum bridge/controller contracts

Outside crates/: programs/ holds the SP1 proof programs (guests), solana/ the Solana vault, recorder and egress-verifier programs, and ops/ the operator scripts and service units for the live bridges, the payout service and the NAV reading jobs (ops/sol-live, ops/withdraw, ops/b24-live).

Clients and external-lane tooling

Path Role Guide
python/postfiat_rpc/ RPC client, PFT token reader/UI and external-lane release watcher Python, PFT On Base
wallet-web/, wallet-extension/, wallet-proxy/ Wallet clients and gateway Web Wallet, Shielded Wallet
crates/node/src/external_lane_checkpoint_source.rs Observe, sign and assemble Base checkpoints; construct a Lock receipt proof Genesis External Lanes
crates/node/src/validator_signer.rs Separate software signer process and socket client Signer Policy
tools/nav-proof-watch/ Read-only NAV proof cadence and freshness watchdog and buyer exit capacity check NAVCoins

These paths describe implemented source. See Network Status for dated deployment records and the existing milestones for qualification gaps.

Scripts

Script names are intentionally descriptive:

  • testnet-rpc-* and postfiat-rpc-* for RPC tooling;
  • testnet-validator-doctor* and testnet-monitor-snapshot* for operator checks;
  • devnet-* for local development.

The testnet-cobalt-*, testnet-orchard-* and testnet-live-* families were archived outside the repository during the open-source cleanup; scripts/README.md lists the retained scripts.

Docs

The canonical docs live under docs/. MkDocs publishes the curated subset configured in mkdocs.yml; source-only archives, runbooks, specs, and status logs remain in the same tree but are excluded from the hosted site when needed.

  • docs/whitepaper.md: the protocol design.
  • docs/status/network-status.md, docs/status/master-state.md and docs/status/chain-state-current.md: the running network (summary, what runs and which branch, full log).
  • docs/integrate/: exchange and wallet integration.
  • docs/runbooks/: operator procedures.
  • docs/specs/: specifications; the site publishes the ones listed under Reference.
  • docs/handoffs/, docs/plans/, docs/review/, docs/postmortems/ and the dated files in docs/status/: internal engineering records.

Reports

Reports are evidence. Do not treat every report as public. The hosted site uses a curated index of redaction-safe reports.