High-performance, trait-based Solana program framework
Revived fork of staratlasmeta/star_frame for the Solana Graveyard Hackathon
Star Frame is a modern Solana program framework designed to make developing on-chain programs more ergonomic, safe, and performant. Built with a trait-based architecture, it provides compile-time validation, optimized compute unit usage via Pinocchio, and a modular design where everything is a trait or type.
Status: REVIVED -- Framework compiles against Solana Rust 1.84.1, examples build and deploy.
- Performance -- optimized for Solana compute unit constraints using Pinocchio
- Type Safety -- comprehensive compile-time validation with traits all the way down
- Modularity -- everything is a trait or type; use only what you need
- Developer Experience -- intuitive APIs with derive macros for common patterns
cargo install star_frame_cli
sf new my-program| Feature | Description |
|---|---|
#[derive(StarFrameProgram)] |
Program entrypoint and instruction dispatch |
#[derive(InstructionSet)] |
Type-safe instruction enum |
#[derive(AccountSet)] |
Account validation with compile-time checks |
#[derive(ProgramAccount)] |
Zero-copy account data with bytemuck |
#[star_frame_instruction] |
Instruction handler with automatic deserialization |
- API Documentation
- Example Programs
- Compute Unit Benchmarks (vs Anchor)
Maintained fork of staratlasmeta/star_frame by ATMTA, Inc.