1 unstable release

0.1.0 Oct 23, 2024

#6 in #sonic

Download history 123/week @ 2024-10-20 21/week @ 2024-10-27

144 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–22MB
~329K SLoC