Skip to content

ExpertVagabond/star-frame

Repository files navigation

star_frame

High-performance, trait-based Solana program framework

Crates.io docs.rs Solana License

Revived fork of staratlasmeta/star_frame for the Solana Graveyard Hackathon


Overview

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.

Key Advantages

  • 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

Quick Start

cargo install star_frame_cli
sf new my-program

Framework Features

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

Resources

Original Project

Maintained fork of staratlasmeta/star_frame by ATMTA, Inc.

License

Apache License 2.0

About

Star Atlas star_frame - High-performance modular Solana program framework (revived)

- Creating gist star-frame-quickstart.md ✓ Created public gist star-frame-quickstart.md https://gist.github.com/ExpertVagabond/5d4c04ab5675e896ac0452701822d139

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors