Resources to help you build better and more secure Solana programs. Kept up to date.
- Solana docs
- Solana courses
- Solana cookbook
- Solana examples supporting multiple frameworks
- Solana bootcamp 2024
- SPL (Solana Program Library) docs: SPL is an official collection of programs to help you build your own Solana program.
If you need a primer on Rust, these resources are for you:
We highly recommend using Anchor, a framework for building secure Solana programs.
-
Helius's blog: Frequently publishes Solana-related content
-
Pine Analytics's Substack: Focuses on deep diving into features of Solana protocols
-
Lucrative_Panda's highly detailed research article that covers all of Solana's security incidents
-
Farouk ELALEM's explanation of how Solana programs work under the hood
-
Solana's general common vulnerabilities:
-
Token-2022 Security resources:
- Offside's Token-2022 best practices Part 1 and Part 2
- Neodyme's Token-2022 security
Essential:
- Anchor framework
- Solana system program
- Solana token program
- Solana token-2022 program
- Solana ATA (Associated Token Account) program
- Solana token metadata program
- Metaplex's token metadata program
Optional:
- Raydium program: AMM protocol
- Kamino program: Lending protocol
- Squads program: Multisig protocol
- Solana playground
- Rust playground
- Sec3's IDL Guesser: Reverse engineers IDL from onchain programs for easier integration
- Trail of Bits's Anchor X-ray: Visualizes accounts in Anchor programs
- John Saigle's Anchor version detector: Helps figure out which versions of Rust, Solana, and Anchor are compatible with a given Anchor project.
Solana security audits that are publicly available:
- Orderly on Sherlock: 2 High and 1 Medium
- WOOFi on Sherlock: 2 High and 3 Medium
- Pump Science on Code4rena: 2 High and 3 Medium
NOTE: Contact 0xmorph
in the Cantina Discord server to gain read access if you don't have it.
- Grass on Cantina: 13 High and 6 Medium
- Olas on Cantina: 2 High and 3 Medium
- Tensor on Cantina: 5 High and 10 Medium
- ZetaChain on Cantina: 6 High and 27 Medium (both Solidity and Solana are in-scope)
- Inclusive Finance on Cantina: 45 High and 25 Medium (both Solidity and Solana are in-scope)
- Reserve Index on Cantina: 10 High and 11 Medium