1 unstable release

0.1.0 Oct 23, 2024

#10 in #sonic

21 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
~334K SLoC