Skip to content

clockwork-xyz/solana-playground

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solana Playground

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

Supported crates:

Package Version
anchor-lang 0.26.0
anchor-spl 0.26.0
arrayref 0.3.6
borsh 0.9.3
borsh-derive 0.9.3
bytemuck 1.12.3
bytemuck-derive 1.3.0
clockwork-sdk 1.3.16
mpl-token-metadata 1.8.3
mpl-token-vault 0.2.0
num-derive 0.3.3
num-traits 0.2.15
pyth-sdk 0.7.0
pyth-sdk-solana 0.7.0
solana-program 1.14.12
spl-associated-token-account 1.1.2
spl-token 3.5.0
switchboard-v2 0.1.20
thiserror 1.0.38

You can open an issue to request more crates.

Note: Playground is still in beta and everything is subject to change.

Run locally

You can run the client locally by cloning the repository and running the following commands in the project directory.

Setup and start the dev server:

cd client # change directory to client
yarn setup # run the setup script(only once)
yarn start # start local dev server
Recommended versions:
rustc --version
# rustc 1.65.0 (897e37553 2022-11-02)

wasm-pack --version
# wasm-pack 0.10.3

node --version
# v18.15.0

yarn --version
# 1.22.19

Contributing

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

License

client and vscode is licensed under GPL-3.0. wasm packages are licensed under Apache-2.0 unless specified otherwise in their respective Cargo.toml.

About

Quickly develop, deploy and test Solana programs from browsers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 80.8%
  • TypeScript 17.8%
  • JavaScript 1.1%
  • Python 0.3%
  • Shell 0.0%
  • HTML 0.0%