6 releases (breaking)
| 0.16.0 | Mar 25, 2026 |
|---|---|
| 0.15.0 | Mar 24, 2026 |
| 0.14.0 | Mar 23, 2026 |
| 0.13.0 | Mar 9, 2026 |
| 0.11.0 | Mar 8, 2026 |
#32 in #pinocchio
Used in jiminy
385KB
6K
SLoC
jiminy-solana
Token/mint readers, Token-2022 screening, CPI guards, Ed25519, Merkle proofs, Pyth oracles, authority rotation, TWAP, compute guards. The Solana platform layer on top of jiminy-core.
#![no_std] / no_alloc / BPF-safe
[dependencies]
jiminy-solana = "0.16"
Pulls in jiminy-core, pinocchio-token, and pinocchio-system for you.
What's in here
token |
SPL Token account readers, mint readers, Token-2022 extension screening |
cpi |
Safe CPI wrappers, reentrancy guards, return-data readers |
crypto |
Ed25519 precompile verification, Merkle proof verification |
authority |
Two-step authority rotation (propose + accept) |
balance |
Pre/post CPI balance-delta guards |
compute |
Compute-budget guards |
compose |
Transaction-composition guards (flash-loan detection) |
introspect |
Raw transaction introspection |
oracle |
Pyth V2 price-feed readers |
twap |
TWAP accumulators and deviation checks |
upgrade |
Program upgrade-authority verification (feature-gated) |
use jiminy_solana::prelude::*;
let balance = token_account_amount(token_account)?;
let valid = verify_merkle_proof(&proof, &root, &leaf);
MoonManQuark / Bluefoot Labs / Apache-2.0
Dependencies
~5MB
~14K SLoC