rush-ecs-svm 0.1.0

Rush ECS Framework Onchain Types
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 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.