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
StateReceiptwire 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_IDfingerprint 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.