A simple Solana program template built with the Pinocchio framework for high-performance program development.
- 🚀 High Performance: Built with Pinocchio - Low CU BABY!
- 🧪 Testing Ready: Complete test suite using
solana-program-test- the best balance between control and overhead - 📦 Modular Design: Clean separation between program, SDK, CLI, and tests
- 🔧 Developer Friendly: No magic black box - all in simple Rust!
git clone <your-repo-url>
cd pinocchio-template
./test.shInspired by ( https://github.com/Nagaprasadvr/solana-pinocchio-starter ) Found from ( https://solana.stackexchange.com/questions/21489/are-there-any-examples-of-the-pinocchio-framework-that-i-can-study )
- No Direct Dependencies: No crate should use
pinocchio-template-example-programdirectly - the SDK forwards all important exports - Zero-Copy Performance: Uses Pinocchio for minimal runtime overhead
- Comprehensive Testing: Uses Solana Program Test for integration tests with realistic program interactions. Local validator and other testing frameworks did not meet our needs.
- Workspace Structure: Organized as a Cargo workspace for better dependency management
Feel free to make PRs to make this template better!
- Fork the repository
- Make your changes
- Run
./test.shto ensure tests pass - Submit a pull request
MIT License - see LICENSE.md file for details