This repository contains a collection of Solana programs built using Pinocchio — a new, efficient library for developing Solana programs in Rust with minimal dependencies. Each example demonstrates specific use cases and best practices for building Solana programs with Pinocchio.
- Hello World Program: A simple "hello world" program to demonstrate the basics of using Pinocchio.
- Counter Program: A program that allows users to manage an on-chain counter.
- Vault Program: A secure vault for users to deposit and withdraw SOL.
- Escrow Program: An escrow system that allows users to securely exchange SPL tokens.
- AMM Program: A constant product automated market maker (AMM) that lets users provide liquidity, swap tokens, and withdraw funds.
- Navigate to the individual program directory for detailed instructions.
- Follow the steps to build, test, and deploy the program.
Have a question about any program or want to request a specific example? Feel free to open an issue.
Contributions are welcome! If you're adding a new program, please follow the general structure used in the existing programs and open a PR.