jiminy-core
The foundation. Account layout, zero-copy IO, validation, PDA utilities, sysvar access, lifecycle helpers, math, time checks. Everything your pinocchio program needs before it touches a token.
#![no_std] · no_alloc · BPF-safe · Built on pinocchio
Part of the jiminy toolkit.
Install
[]
= "0.11"
What's inside
| Module | What it does |
|---|---|
account |
8-byte header, AccountReader, AccountWriter, SliceCursor, lifecycle (close/realloc), pod, list, bitflags |
check |
Owner / signer / key assertions, PDA derivation & verification |
instruction |
Transaction introspection via the Instructions sysvar |
math |
Checked arithmetic, BPS helpers, scaling with u128 intermediates |
sysvar |
Clock & Rent sysvar readers |
state |
State-machine transition validation |
time |
Deadline, cooldown, slot-staleness checks |
event |
Zero-alloc event emission via sol_log_data |
programs |
Well-known program IDs (feature-gated) |
Quick start
use *;
// Read a validated account
let reader = new_checked?;
let owner = reader.pubkey_at?;
let amount = reader.u64_at?;
Features
| Feature | Default | Description |
|---|---|---|
programs |
yes | Exposes well-known Solana program addresses |
log |
no | Structured sol_log wrappers |
About
Built by MoonManQuark / Bluefoot Labs.
If jiminy saved you some CU, donations welcome at solanadevdao.sol
(F42ZovBoRJZU4av5MiESVwJWnEx8ZQVFkc1RM29zMxNT).
License
Apache-2.0