Expand description
Minimal syscall shims exposed through Hopper Runtime.
Hopper-owned crates use this module instead of depending on external SDK syscall paths.
Functions§
- sol_
alt_ ⚠bn128_ compression - Run a BN254 / alt_bn128 compression operation.
- sol_
alt_ ⚠bn128_ group_ op - Run a BN254 / alt_bn128 group operation.
- sol_
big_ ⚠mod_ exp - Run big integer modular exponentiation.
- sol_
blake3 ⚠ - Compute BLAKE3 over a slice-of-slices payload.
- sol_
curve_ ⚠group_ op - Run a group operation on a runtime-supported curve.
- sol_
curve_ ⚠multiscalar_ mul - Run variable-length multiscalar multiplication on a runtime-supported curve.
- sol_
curve_ ⚠validate_ point - Validate whether a point lies on a runtime-supported curve.
- sol_
get_ ⚠processed_ sibling_ instruction - Read a previously processed sibling instruction from the current transaction.
- sol_
get_ ⚠return_ data - Read CPI return data set by the most recent CPI.
- sol_
get_ stack_ height - Return the current Solana instruction stack height.
- sol_
keccak256 ⚠ - Compute Keccak-256 over a slice-of-slices payload.
- sol_
log_ ⚠data - Emit a
sol_log_dataevent payload. - sol_
memcmp_ ⚠ - Compare two byte ranges and write a negative, zero, or positive result.
- sol_
memcpy_ ⚠ - Copy
nnon-overlapping bytes fromsrctodst. - sol_
memmove_ ⚠ - Copy
nbytes fromsrctodst, allowing overlap. - sol_
memset_ ⚠ - Fill
nbytes atdstwithbyte. - sol_
poseidon ⚠ - Compute a Poseidon hash using Solana’s runtime syscall.
- sol_
remaining_ compute_ units - Return the remaining compute units reported by the Solana runtime.
- sol_
secp256k1_ ⚠recover - Recover a secp256k1 public key from a 32-byte message hash and 64-byte compact signature.
- sol_
set_ ⚠return_ data - Set CPI return data for the current instruction.
- sol_
sha256 ⚠ - Compute SHA-256 over a slice-of-slices payload.