百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
S

solana-playground

> 开发工具
开源

从浏览器中快速开发、部署和测试 Solana 程序

954 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

从浏览器中快速开发、部署和测试 Solana 程序

Solana Playground

SolPg allows you to quickly develop, deploy and test Solana programs(smart contracts) from browsers.

Supported crates

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.

Run locally

  • Client setup
  • Server setup
Recommended versions
bash
node --version
# v22.20.0

yarn --version
# 1.22.22

Run with Docker

The 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.

bash
# 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
docker compose up client-standalone --build

# Server + DB
docker compose --profile dev up server --build

# Server only
docker compose up server-standalone --build

# Client:  http://localhost:3000
# Server:  http://localhost:8080

To stop and clean up:

bash
# Stop services
docker compose down

# Stop and remove database volume
docker compose down -v

Contributing

Anyone is welcome to contribute to Solana Playground, no matter how big or small the contribution.

See Contribution Guidelines.

License

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.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rustblockchainplaygroundrustsolana

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类开发工具
定价开源

> 相关工具

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具