Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Introduction

Pina: a pineapple made from interlocking ribbons

Pina is a Solana program framework built on pinocchio. Programs written with it deploy with the smallest binaries of any Solana framework, spend compute like hand-written code, and evolve through managed ABI migrations. Every on-chain crate is no_std and allocation-free.

This book is the documentation home for the project. It explains the ideas behind the framework, walks through building and shipping a program, and records the trade-offs the codebase is built on. API reference lives on docs.rs.

Pina is unaudited and still hardening. Read the security model and the production-readiness gate before you deploy a program that holds value.

Where to start

What this book covers