Prove
Prove dual-anchors trustworthy state to two ledgers: Polygon (a
public EVM chain) and nebulad (Nebula's own private chain).
What gets anchored
Every state change that has independent proof value: item
transitions, agreement revisions, adaptations, defect notices,
payment claim certifications, EOT decisions, baseline locks.
Anchor envelope
The v2 envelope (in src/lib/substrate/v2-event.ts) carries:
- The atom payload that's being anchored
- Structured edges to context atoms
- The signing key fingerprint
- A monotonic sequence within the project
The envelope hash is what goes on chain; the full payload stays in
Postgres.
Retry queue
Anchors are queued in AnchorJob and processed by the cron worker.
Failed jobs retry with exponential backoff up to 5 attempts; after
that they're marked DEAD and need admin attention.
Cross links
/docs/concepts/chain: the dual-chain story end-to-end/docs/chain/anchors: anchor detail page tour/docs/chain/verifier: the CLI that verifies a proof bundle