Playground

Compile Solidity to Solana in the browser.

Write a contract in Solidity syntax, compile it here, and read the Rust/Anchor program SolScript generates from it. The compiler runs client-side as WebAssembly, so there is nothing to install and no toolchain to configure before the first build.

How it works while you use it

Compiles in the page

The playground runs the same compiler as the CLI, built to WebAssembly, so a build is a function call in your tab rather than a server round trip. Your source stays in the browser.

Reads back as Anchor

The output panel shows the generated Anchor code next to your Solidity, with compiler diagnostics marked inline against the line that caused them.

Deploys with your wallet

Connect Phantom or Solflare, pick devnet, testnet or mainnet, and deploy the compiled program without leaving the tab.

Keeps your work

Projects persist in the browser through IndexedDB. Nothing to sign up for, nothing to upload, and the editor is Monaco, the one that powers VS Code.

Something to compile

If you would rather start from working code than a blank file, the examples open here directly: counter, token, escrow, AMM, staking, multisig and voting contracts, each with notes on the Solidity features it uses. The tutorials build the same contracts step by step, and how it works follows one file through parsing, type-checking, PDA mapping and code generation.

Playground and CLI

What you get here is the Anchor output, the readable form you can audit. The CLI adds the rest of the workflow: solscript check for type-checking without codegen, solscript build for the same Anchor source on your machine, and solscript build --bpf to compile straight to Solana bytecode through LLVM. A VS Code extension carries the diagnostics into the editor. Installation and command reference live in the documentation, and a walk-through of the playground compares it with Solana Playground and Remix.

SolScript is in beta (v0.1.1) and open source under the MIT license. Devnet and testnet deployments are the intended use today; audit the generated Anchor code before putting a contract on mainnet. The FAQ covers what is and is not supported.