FONE / ENGINEERING GUIDES

← All guides

Solana Anchor Guide

From the Solana account model to Anchor programs, token standards and full-stack DeFi applications. Follow 15 core lessons, then explore 9 focused engineering guides.

15 core lessons9 companion topicsSolana · Anchor · Rust

Before you start: basic programming experience and a working terminal. Familiarity with Solidity is helpful for the EVM comparisons.

Explore the open-source code ↗

01 / Accounts & Anchor fundamentals

Map EVM concepts to Solana accounts, PDAs and cross-program calls.

  1. SA01

    Why Solana Is Fundamentally Different from EVM: Stateless Programs, Explicit Accounts, and Concept Mapping

    Coming soon
  2. SA02

    10 Traps Solidity Developers Hit on Solana: Missing msg.sender, Account Space, Rent, and Program Upgrades

    Coming soon
  3. SA03

    Your First Anchor Program: Building a Counter while Mastering Account Space and 8-Byte Discriminators

    Coming soon
  4. SA04

    Replacing Solidity Mappings with Solana PDAs: Deterministic UserProfile Storage, Bumps, and Rent Reclamation

    Coming soon
  5. SA05

    Mastering Cross-Program Invocations (CPI) in Anchor: Native SOL Transfers and PDA Vault Signing

    Coming soon

02 / Tokens & full-stack development

SPL tokens, Token-2022, NFTs and wallet-connected interfaces.

  1. SA06

    From ERC20 to Solana SPL Tokens: Mint Accounts, Associated Token Accounts (ATAs), and Meme Coin Mint Locking

    Coming soon
  2. SA07

    Solana Token-2022 Extensions in Practice: Transfer Fees, Permanent Delegates, and Native Metadata Pointers

    Coming soon
  3. SA08

    From ERC721 to Solana NFTs: Zero-Decimal Mints, Metaplex Metadata PDAs, Master Editions, and Creator Royalties

    Coming soon
  4. SA09

    Full-Stack Solana DApps with Next.js: Wallet Adapter, IDL Integration, Client PDA Derivation, and SPL Token UI

    Coming soon

03 / Applications, security & DeFi

Escrow, voting, launchpads, prediction markets, testing and protocol architecture.

  1. SA10

    Building a Trustless Token Escrow on Solana: Vault PDAs, Two-Way SPL Token CPIs, and Atomic Cancellation

    Coming soon
  2. SA11

    Enforcing One-Per-User Actions with PDA Uniqueness: Building Solana On-Chain Voting and Token Airdrop Programs

    Coming soon
  3. SA12

    Building a Full-Stack Solana Token Launchpad: Multi-Vault PDA State Machines, Contributions, Claims, and Refunds

    Coming soon
  4. SA13

    Building a Binary Prediction Market on Solana: Market, Position, and Vault PDAs, Payout Math, and Next.js UI

    Coming soon
  5. SA14

    Production Anchor Engineering: 8 Account Security Invariants, Custom Errors & Events, Testing, and Devnet Deployment

    Coming soon
  6. SA15

    Inside Solana's Flagship DeFi Engines: Jupiter v6 Routing, Pump.fun Bonding Curves, and Drift Perpetual Futures Math

    Coming soon

Companion engineering guides

Troubleshooting, security boundaries and architecture decisions. Read these alongside the core path.

  1. ST01

    The Solana & Anchor Troubleshooting Guide: Fixing 25 Common Account, PDA, CPI, Space, and Devnet Deployment Errors

    Coming soon
  2. ST02

    Why Solana Programs Get Drained Through Unchecked Accounts: 8 Anchor Security Vulnerabilities and Defenses

    Coming soon
  3. ST03

    EVM vs. Solana Architecture for Web3 CTOs: Account Models, Parallel Execution, Rent Economics, and Engineering Trade-offs

    Coming soon
  4. ST04

    SPL Token vs. Token-2022 vs. ERC20 in Production: How Transfer Fees, Permanent Delegates, and ATAs Impact Payments and RWA

    Coming soon
  5. ST05

    Jupiter v6 Architecture Deep Dive: How Solana's 1,232-Byte and 64-Account Limits Reshape On-Chain DEX Routing and CPIs

    Coming soon
  6. ST06

    How Pump.fun Bonding Curves Work Under the Hood: Virtual Reserves, Slippage Math, and Graduation State Machines in TypeScript

    Coming soon
  7. ST07

    Modeling a Drift-Style Perpetual Futures Engine: Margin Ratios, Funding Rates, and Partial Liquidations Explained

    Coming soon
  8. ST08

    From Foundry forge test to anchor test: The Practical Cheat Sheet for Testing PDAs, Custom Errors, and Event Logs

    Coming soon
  9. ST09

    From Anchor Tutorial to Production Multi-Chain System: 8 Full-Stack Operational Layers Missing from Solana & EVM Demos

    Coming soon