Rust Core SDK

The oris-core crate: ZKP prover, mempool, N-API + PyO3 bindings.

Beta. Used internally by official SDKs. Direct Rust for sub-microsecond latency.

Components

ComponentDescription
ZKPAttestationBuilderPLONK/Halo2 proof generation
TransactionMempoolLock-free ring buffer, repr(C) offsets, zero-copy TypedArray
OrisStreamWebSocket with backpressure
RequestSignerHMAC-SHA256, constant-time

Memory Layout

Offsets
PAYMENT_SLOT_SIZE = 256 bytes SEQUENCE: 0 // u64 AGENT_ID: 8 // [u8; 16] TO_ADDRESS: 24 // [u8; 64] AMOUNT_FIXED: 88 // u64 STABLECOIN: 96 // u8 CHAIN: 97 // u8 TIMESTAMP_NS: 104 // u64

ZKP Usage

TypeScript
const att = await agent.generateAttestation('base') const valid = await agent.verifyAttestation(att) // true