SolPg allows you to quickly develop, deploy and test Solana programs(smart contracts) from browsers.
| Crate | Version |
|---|---|
| anchor-lang | 0.29.0 |
| anchor-spl | 0.29.0 |
| arrayref | 0.3.7 |
| borsh | 0.10.3 |
| borsh-derive | 0.10.3 |
| bytemuck | 1.14.0 |
| bytemuck_derive | 1.5.0 |
| mpl-bubblegum | 1.0.0 |
| mpl-token-auth-rules | 1.4.3 |
| mpl-token-metadata | 3.2.3 |
| num-derive | 0.4.0 |
| num-traits | 0.2.16 |
| pyth-sdk | 0.8.0 |
| pyth-sdk-solana | 0.8.0 |
| serde | 1.0.193 |
| solana-program | 1.16.24 |
| spl-account-compression | 0.2.0 |
| spl-associated-token-account | 2.2.0 |
| spl-pod | 0.1.0 |
| spl-tlv-account-resolution | 0.4.0 |
| spl-token | 4.0.0 |
| spl-token-2022 | 0.9.0 |
| spl-token-metadata-interface | 0.2.0 |
| spl-transfer-hook-interface | 0.3.0 |
| spl-type-length-value | 0.3.0 |
| switchboard-solana | 0.29.79 |
| switchboard-v2 | 0.4.0 |
| thiserror | 1.0.48 |
You can open an issue to request more crates.
Note: Playground is still in beta and everything is subject to change.
node --version
# v22.20.0
yarn --version
# 1.22.22The project can be built and run entirely via Docker Compose.
All services run as linux/amd64 containers (Solana/Agave does not ship Linux ARM64 binaries). This works on any platform with Docker: Linux natively, macOS via OrbStack or Docker Desktop, and Windows via WSL2 or Docker Desktop.
# Copy and customize environment variables
cp .env.example .env
# Full stack — development (watch mode, but without volumes to mount local src directory into running container)
docker compose --profile dev up --build
# Full stack — production (static build)
docker compose --profile prod up --build
# Client only — standalone without server
docker compose --profile standalone up --build
# Server only (+ database)
docker compose --profile dev up server --build
# Client: http://localhost:3000
# Server: http://localhost:8080To stop and clean up:
# Stop services
docker compose down
# Stop and remove database volume
docker compose down -vAnyone is welcome to contribute to Solana Playground, no matter how big or small the contribution.
Public libraries (e.g. solana-client-wasm, solana-extra-wasm) are licensed under Apache-2.0, and the rest are licensed under GPL-3.0.