1 unstable release

new 0.1.0 Oct 23, 2024

#703 in Magic Beans

Download history 134/week @ 2024-10-21

134 downloads per month
Used in 2 crates (via rush-ecs-sdk)

Apache-2.0

49KB
1K SLoC

rush-svm

[!IMPORTANT] This package contains the shared modules across programs and tests most notably the following:

  • Instruction Enum
  • State structs
  • PDA Helpers
  • Error - SVM-Space Error
  • Macros
  • Client (Non Generated)

[!CAUTION] Onchain programs don't support some dependencies in client-side Solana (e.g. getrandom). To prevent unsupported module errors, Program-specific code is separated from Client-specific code with the #[cfg(target_os = "solana") compilation flag.

Dependencies

~14–23MB
~355K SLoC