indexor 0.3.0

An on-chain indexing solution for Solana accounts
Documentation
1
2
3
4
5
6
7
8
9
10
11
use anchor_lang::prelude::*;

/// Root seed for Proof accounts.
pub const SEED_PROOF: &[u8] = b"prf";

/// Proof accounts track the entry of a reference in an index.
/// Initializing this account will prevent other signers from creating new items pointing the same reference.
#[account]
pub struct Proof {
    pub bump: u8,
}