Build a program
Build your first program
Create, build, and test an Anchor program, then read every file it contains.
Rust programs
Create, build, test, and deploy programs in native Rust.
Anchor framework
The standard framework for Solana programs in Rust.
Program examples
Reference programs in different languages and frameworks.
Test, deploy, and integrate
Testing programs
Test programs with Mollusk.
Deploying
Build, deploy, and manage programs with the Solana CLI.
Verified builds
Link a deployed program to its source code so anyone can verify it.
IDLs & Codama clients
Describe your program’s interface and generate typed clients.
Limitations
Runtime limits to design for.
Set up your machine
Install Rust, the Solana CLI, and Anchor with one command.
New to how programs store state? Read
program-derived addressesProgram-derived addressesA PDA is an address derived from a program plus some seeds. It has no private key, so only that program can sign for it, which makes it handy for storing app state at predictable addresses.Learn more (Program-derived addresses: A PDA is an address derived from a program plus some seeds. It has no private key, so only that program can sign for it, which makes it handy for storing app state at predictable addresses.) and
cross-program callsCross-program callsA cross-program call (CPI) is one program calling another inside the same transaction, the way your program would call the Token program to move tokens.Learn more (Cross-program calls: A cross-program call (CPI) is one program calling another inside the same transaction, the way your program would call the Token program to move tokens.) in
How Solana works before you design your accounts.