NewPinocchio and Quasar now compile in your browserPinocchio and Quasar, in your browser

Draw a Solana program. Ship it to devnet.

Wire up accounts and constraints on a canvas and get real Anchor, Pinocchio or Quasar code that compiles in your browser.

Free to use. Runs in your browser, nothing to install.

vault
AnchorPinocchioQuasar
CompileDeploy to devnet
vaultanchor
instructions3
initialize
deposit
withdraw
vault_state
authorityPubkey
balanceu64
bumpu8
has_one
targetauthority
lib.rs
123456789101112131415161718192021
#[derive(Accounts)]
pub struct Withdraw<'info> {
#[account(
mut,
has_one = authority,
)]
pub vault: Account<'info, VaultState>,
}
}
Build
rustc 1.101.0-nightly · sBPF v3 · ready
Generated lib.rs ·anchor
Compiling in your browser
Deploying to devnet

SolStudio at a glance

Three frameworks, one graph. Switch without redrawing.

AnchorPinocchioQuasar
src/lib.rs
1use anchor_lang::prelude::*;
2
3pub mod instructions;
4pub mod state;
5pub mod errors;
6pub mod events;

Builds in 0.41 s. Warm Pinocchio, in your browser.

0.00s
compile vault v0.1.0
sbpf-link vault.so
vault.so 11,392 bytes

27 audit rules, always on. Checked on every change.

Rules/27
SOL-001Missing signer check
SOL-004Non-canonical PDA derivation
SOL-010Unchecked arithmetic
SOL-021Missing bump verification
SOL-040CPI to unverified program
SOL-073Missing constraint for uniqueness

One graph, three frameworks

Draw an instruction once. SolStudio writes it as Anchor, Pinocchio or Quasar, and switching is one click. Below is the vault template's deposit, exactly as it generates.

vault/deposit
depositinstruction
amountu64
requireconstraint
checkamount > 0
errorInvalidAmount
vaultaccount
stateVaultState
seeds"vault", authority
authoritysigner
kindSigner
system_programprogram
instructions/deposit.rsinstructions/deposit.rssrc/lib.rs
6pub fn handler(ctx: Context<Deposit>, amount: u64) -> Result<()> {
7 require!(amount > 0, VaultError::InvalidAmount);
8 let vault = &mut ctx.accounts.vault;
9 let amount: u64 = amount;
10 let cpi_accounts = anchor_lang::system_program::Transfer {
11 from: ctx.accounts.authority.to_account_info(),
12 to: vault.to_account_info(),
13 };
14 let cpi_ctx = CpiContext::new(ctx.accounts.system_program.to_account_info(), cpi_accounts);
15 anchor_lang::system_program::transfer(cpi_ctx, amount)?;
16 let new_balance = vault.balance.checked_add(amount).ok_or(ProgramError::InvalidArgument)?;
17 vault.balance = new_balance;
AnchorCompiled on the server
Pinocchio11,392 bytesCompiled in your browser
Quasar10,432 bytesCompiled in your browser

Compiles in your browser

Pinocchio and Quasar build with rustc compiled to WebAssembly, right on your machine. No queue, no upload. Anchor still builds on our server.

vault/warm build
0 s1 s2 s3 s4 s5 s6 s7 s8 s
PinocchioIn your browser
first build 1.0 s
0.0 s
QuasarIn your browser
first build 1.5 s
0.0 s
AnchorOn our server
0.0 s
0.0 s
Build output
✓·toolchainrustc 1.101.0-nightly, sbpf v3
✓·pinocchiocompile vault v0.1.0
✓·quasarcompile vault v0.1.0
✓·anchorbuild on server
✓·pinocchiosbpf-link vault.so
✓·pinocchiovault.so 11,392 bytes in 0.4 s
✓·quasarsbpf-link vault.so
✓·quasarvault.so 10,432 bytes in 0.9 s

Warm builds of the vault template. The first build in your browser takes 1.0 s for Pinocchio and 1.5 s for Quasar, after a one-time download of about 30 MB that stays cached.

Audit report
vault·Anchor
39
Security score out of 100
Critical
High
Medium
Low
27 rules checked, SOL-001 to SOL-073
Findings5 open
SOL-001Missing signer check on "authority"Open
Suggested fixprograms/vault/src/lib.rs
18#[derive(Accounts)]
19pub struct Withdraw<'info> {
− pub authority: AccountInfo<'info>,
20+ pub authority: Signer<'info>,
SOL-010Unchecked add in "deposit"Open
SOL-021PDA "vault" does not store/verify bumpOpen
SOL-050Missing input validation in "deposit"Open
SOL-050Missing input validation in "withdraw"Open

Audit the program before it ships

27 rules check signers, owners, PDA seeds and bumps, arithmetic, CPI targets and account closes. Each finding points at the node that caused it and comes with the fix for the graph and the code.

27
rules, from SOL-001 missing signer to SOL-073 uniqueness constraints
100
points to start. A critical finding costs 25, high 15, medium 7, low 3
0
network calls. It runs in your browser as you edit, and in the CLI
Read how the audit works

Your code never leaves your machine

Point the CLI at an Anchor, Pinocchio or Quasar repo you already have. It parses the program into the same graph, audits it, runs your tests, writes CI and opens the visualizer on localhost.

CLI docs
vault — zsh
~/code/vault❯
✓Parsing programs/vault/src/lib.rs
Framework : anchor
Score : 86/100
Findings : 2
Severity : critical=0, high=0, medium=2, low=0, info=0
Top findings:
- [medium] SOL-050: Missing input validation in "deposit"
- [medium] SOL-050: Missing input validation in "withdraw"
~/code/vault❯
Starting SolStudio server on port 6139...
SolStudio running at http://localhost:6139
Opened in browser.
localhost:6139
Program
vault
Instruction
deposit
Instruction
withdraw
State
Vault
SolStudio Cloud

Workflows that act on Solana for you

Cron, webhook and manual triggers wired to nodes for Jupiter, Pyth, Helius, Metaplex, Squads and Jito. Build it on a canvas, then let it run.

Open Cloud
Workflows/SOL dip buyerEditorExecutionsActiveRun once
Cron Trigger
*/5 * * * *UTC
Pyth Price
SOL/USD$141.07
If / Else
price < 140false
Jupiter Swap
25 USDC → SOL
Telegram Alert
Bought SOL
ExecutionsLogsLast 24 hours
StatusRunTriggerNodesDurationStarted
Running#1285Replay of #12845 / 5–just now
Success#1284Cron5 / 52.4 sjust nowReplay
Success#1283Cron3 / 50.8 s5 min ago

Limits before anything signs

Spend limits, slippage caps and a preflight simulation run before a wallet action can sign.

Encrypted credentials and wallets

API keys and wallet keys are encrypted on the server and never sent back to the browser.

Every run can be replayed

A run keeps its trigger data, so Replay runs the same input again and shows both results.

What Solana developers said

Notes from early demos, word for word. Each one is left on the part of the program it is about.

vaultJGV
vault
instructions4
version0.1.0
deposit
amountu64
accounts3
VaultState
authorityPubkey
balanceu64
bumpu8
JJayakrishnaSolana Developer

Looks good, better way to understand a program.

GBGui BibeauProduct @ Solana

It's hard to find Rust expertise, so this is already a good idea.

VVaibhavSolana Developer

Damn, really great job. A better use case would be making a visualizer for agentic engineers so they can see what their agent implemented and make quick tweaks.

JayakrishnaGuiVaibhav
Jayakrishna, Solana DeveloperGui Bibeau, Product @ SolanaVaibhav, Solana Developer

Questions, answered plainly

The things people ask before they open the editor.

7 answers

Not here? Read the docs or open an issue on GitHub.

Pricing

Is it free?

Yes. The editor, the templates, the browser compiler and the CLI cost nothing. Sign in with GitHub or Google to save projects and deploy.

Privacy

Does my code leave my machine?

Not with the CLI. parse, audit, test and view run on your machine, and view serves the visualizer from a local server. Only solstudio cloud talks to SolStudio Cloud, after you log in. In the web editor your project is saved to your account; Pinocchio and Quasar compile in your browser, Anchor on our build server.

Frameworks

Which frameworks does it write?

Anchor, Pinocchio and Quasar, all from the same graph. Switching is one click. Pinocchio and Quasar compile in your browser (about 0.4 s and 0.9 s once warm); Anchor compiles on the server in about 8 s.

CLI

Can I bring my existing Anchor repo?

Yes, through the CLI. Run bunx @solstudio/cli view in the repo: it parses Anchor, Pinocchio or Quasar source into the same graph and opens it locally. solstudio parse prints the graph without the UI.

Security

Is the generated code production ready?

Treat it as a strong first draft. The built-in audit checks it against 27 rules and scores it out of 100, and you can run your tests from the editor. Read the code and get a review before real funds depend on it.

Deploy

Devnet or mainnet?

Devnet is the default, and you deploy to it from the browser. The network picker also lists Mainnet and Localnet. Go to mainnet only after the audit, your tests and a review.

Compiler

What does the browser build download?

About 30 MB, once: rustc compiled to WebAssembly and the framework crates. After that it is cached, so later builds skip the download.

Pick a template, then make it yours.

Every template builds in Anchor, Pinocchio and Quasar. Pick one to see the account it writes, then open it in the editor and change anything.

More in the marketplace, from a staking pool to DAO voting.

New project

Choose a template and a framework.

Template
Framework
vault/src/state/vault_state.rs12 Rust files
use pinocchio::Address;/// VaultState state account////// Layout (41 bytes + 8 byte discriminator = 49 bytes):/// [0..8]   - Discriminator/// [8..40] - authority: Address (32 bytes) — Vault owner/// [40..48] - balance: u64 (8 bytes) — Current balance/// [48..49] - bump: u8 (1 bytes) — PDA bumppub struct VaultState;impl VaultState {    pub const LEN: usize = 49;    pub const DISCRIMINATOR: [u8; 8] = [232, 3, 0, 0, 0, 0, 0, 0];    // Field offsets (after 8-byte discriminator)    const AUTHORITY_OFFSET: usize = 8;    const BALANCE_OFFSET: usize = 40;

Compiles in your browser · about 0.4 s warm

Free. Sign in with GitHub or Google.

Use Simple Vault