Releases: divi2806/svmforge
Releases · divi2806/svmforge
v0.1.0 — Initial Release
What's included
Core
MolluskSvm— stateless instruction executor, pass accounts explicitly per callMolluskContext— stateful executor with in-memory account store, accounts auto-managedprocessInstruction/processInstructionChain/processTransactionInstructions- Full clock/sysvar control:
warpToSlot,setClockUnixTimestamp,setEpoch - Compute budget control:
setComputeUnitLimit - Rent calculation:
getRentMinimumBalance - Feature gate deactivation:
deactivateFeature
SPL Programs (zero toolchain required)
addSplToken()— SPL Token (classic)addSplToken2022()— SPL Token-2022addAssociatedToken()— Associated Token Account programaddMemo()— Memo program- Program ID constants:
SPL_TOKEN_PROGRAM_ID,SPL_TOKEN_2022_PROGRAM_ID,ASSOCIATED_TOKEN_PROGRAM_ID,
MEMO_PROGRAM_ID
Check helpers
checkSuccess,checkErr,checkComputeUnits,checkReturnDatacheckAccountLamports,checkAccountOwner,checkAccountDatacheckAccountSpace,checkAccountExecutable,checkAccountClosed
Platform support
Pre-built native binaries for:
- macOS Apple Silicon (arm64)
- macOS Intel (x64)
- Linux x64 (glibc)
- Linux arm64 (glibc)
- Windows x64 (MSVC)
Developer experience
- Full TypeScript types via
index.d.ts - No Rust toolchain needed to use the package
- Works with any test runner (Jest, Vitest, etc.)