A Solana Geyser plugin that computes semantic, field-level diffs on account state changes and emits them as structured events.
- SPL Token Program — Mint and Token account diffs (supply, authorities, balances)
cargo build --release
The plugin compiles as a cdylib shared library for loading into a Solana validator.
Create a config.json with the token program address:
{
"token_program": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
}- Receives account updates from the validator via the Geyser plugin interface
- Decodes raw account bytes into structured representations (Mint, Token)
- Diffs against previously seen state
- Emits change events with field-level diffs, slot, and transaction signature