v1.0 Public Beta

The Solana Playground
you needed.

Run real Solana programs. Watch state transform. Understand execution—not just syntax. Zero setup. No wallet. Open source.

Zero setup
Sandboxed
Open source
Active dev
Interactive Environment
main
Solana Program Logic
use anchor_lang::prelude::*;

#[program]
pub mod vault {
pub fn initialize(ctx: Context<Initialize>) -> Result<()> {
let vault = &mut ctx.accounts.vault;
vault.authority = ctx.accounts.authority.key();
vault.balance = 0;

msg!("Vault initialized");
Ok(())
}
}

#[derive(Accounts)]
pub struct Initialize<'info> {
#[account(init, payer = authority, space = 8 + 32 + 8)]
pub vault: Account<'info, Vault>,
...
}
Account StateRunning
Address
vault_account
authorityFg6P...n4Zq
balance0 SOL
Terminal Output
$solana program deploy target/deploy/vault.so
14:20:01→ Program invoked
14:20:01→ Account created (vault)
14:20:02✓ Vault initialized

How it works

Open an example

Start with PDAs, tokens, or account management

Choose from 20+ curated examples covering common Solana patterns

Examples include token creation, NFTs, staking, and DeFi protocols

Every example comes with complete working code and documentation

Example Preview
// Available Examples
const examples = [
"Token Program",
"NFT Minting",
"PDA Accounts",
"Staking Protocol",
"AMM Swap"
];

Read code with context

Hover over instructions for inline explanations

Intelligent tooltips explain Solana-specific concepts as you read

Syntax highlighting and code structure visualization

Learn about accounts, instructions, and program architecture

Code with Context
pub fn initialize(ctx: Context<Initialize>) {
// Context provides account access ←
let vault = &mut ctx.accounts.vault;
vault.authority = ctx.accounts.user.key();
Ok(())
}

Run and inspect state

See accounts, balances, and logs in real-time

Watch your program execute step-by-step in real-time

Visualize account state changes with clear data displays

Monitor SOL balances, token amounts, and all data fields

State Inspector
Vault Account: "7xKXt..."
├─ Balance: 10.5 SOL
├─ Authority: "ABC123..."
├─ Status: Initialized ✓
└─ Last Updated: 2 seconds ago

Modify and rerun

Experiment safely in a sandboxed environment

Make changes and instantly see the results—no deploy needed

Test edge cases and error handling without consequences

Reset state with one click to start fresh anytime

Live Editing
// Modify values and rerun
let amount = 100; // ← Try different amounts
transfer(amount)?;
// Press Run to see changes instantly

Built for developers

Everything you need to build, test, and deploy Solana programs—no setup required.

No wallet required

Start coding immediately—no wallet connects, no private keys, no setup friction.

0
Setup time
Open the Playground and go.
100%
Sandboxed
Safe, isolated execution.

100% sandboxed

Total isolation ensures your code can't touch mainnet or external systems. Test freely without unintended consequences.

Zero configuration

No installs, no dependencies, no local toolchains—just open and build.

Developer-friendly features

  • Deterministic execution for consistent testing
  • No mainnet risk during development
  • Real-time state visualization
  • Instant program deployment
  • Built-in debugging tools
OPEN SOURCE

Community-powered

  • Active maintenance & updates
  • Community-driven examples
  • Issue tracking on GitHub
  • Full documentation
  • Discord community support

Start understanding Solana

No setup. No risk. Just real programs and real execution.

Open Solana Playground →