hopper-sdk 0.1.0

Off-chain SDK for the Hopper zero-copy state framework. Parses receipts, decodes account state through segment-aware partial reads, builds instructions from a ProgramManifest, and narrates state diffs for indexers and explorers. Neither Pinocchio, Anchor zero-copy, nor Quasar ships a symmetric off-chain SDK of this shape. Hopper does because Hopper owns the layout_id fingerprint, segment roles, receipt wire format, and policy graph on both sides of the program boundary.
Documentation

hopper-sdk

Off-chain companion crate for Hopper. Indexers, explorers, wallets, and backends use this to consume Hopper programs without running on-chain.

What's here

  • Receipt decoder - parse Hopper's 64-byte StateReceipt wire format into a structured value plus a human-readable narrative.
  • Reader - segment-aware partial account readers that fetch only the fields you need from an account snapshot, with LAYOUT_ID fingerprint verification.
  • Fingerprint - runtime layout-id verification helpers symmetric with Hopper's compile-time pinning.
  • Diff - snapshot-to-snapshot field-level diff matching the on-chain diff engine.
  • Builder (optional feature) - typed instruction and account builders derived from a ProgramManifest.

Docs: https://docs.rs/crate/hopper-sdk/0.1.0

License: Apache-2.0.