Skip to content

bidhan-a/solana-pinocchio-examples

Repository files navigation

Solana Pinocchio Examples

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.

Examples

  • 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.

How to Use

  1. Navigate to the individual program directory for detailed instructions.
  2. Follow the steps to build, test, and deploy the program.

Questions

Have a question about any program or want to request a specific example? Feel free to open an issue.

Contributing

Contributions are welcome! If you're adding a new program, please follow the general structure used in the existing programs and open a PR.

Additional Resources

About

A collection of Solana programs built using Pinocchio.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors