Skip to content

Pina AMM documentation

Guide Read it when you want to
Architecture Understand the accounts, PDAs, lifecycle, and design decisions
Math Reproduce a quote or check a rounding rule
Fees Understand fee tiers, protocol fees, and creator fees
Instruction reference Look up an instruction’s data, accounts, errors, or events
Integrating the Pina AMM Choose a client and follow a swap end to end
TypeScript client Use @pina-rs/amm with @solana/kit
Dart and Flutter client Use pina_amm from Dart or Flutter
Rust client Use pina_amm_client from Rust
Calling the AMM from another program Call the AMM from another on-chain program
The pina-amm CLI Operate the AMM from the terminal
Performance See compute-unit and size measurements
Security model Review the threat model and invariants
Deploying Deploy the program and create fee tiers
Releasing Write changesets and publish a release