Skip to content

ACodehunter/soroban-playground

 
 

Repository files navigation

Soroban Playground

Soroban Playground is a browser-based IDE for writing, compiling, deploying, and interacting with Stellar Soroban smart contracts. No setup required. Write Rust smart contracts directly in your browser.

Features

  • Code Editor: Monaco-based editor with Rust syntax highlighting, auto-formatting, and contract templates.
  • In-browser Compilation: Compile Soroban contracts online and view logs/WASM outputs.
  • Deploy to Testnet: Deploy your contracts instantly to the Stellar Testnet.
  • Contract Interaction: Read and write functions easily via an auto-generated UI.
  • Storage Viewer: Explore contract storage keys and values.

Project Structure

This repository uses a monorepo setup:

  • frontend/: The Next.js React application containing the UI.
  • backend/: The Node.js Express application responsible for Soroban CLI interactions.

Getting Started

Prerequisites

  • Node.js (v18+)
  • NPM or Yarn
  • Rust (for the backend compilation engine)
  • Soroban CLI

Local Setup

  1. Clone the repository:
    git clone https://github.com/your-username/soroban-playground.git
  2. Install dependencies for all workspaces:
    npm install
  3. Start the application stack (Frontend and Backend concurrently):
    npm run dev

Contributing

We welcome contributions! Please see our CONTRIBUTING.md for guidelines on how to get started.

License

MIT License.

About

A browser-based IDE for writing, compiling, and deploying Soroban smart contracts on Stellar.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Rust 65.4%
  • TypeScript 24.1%
  • JavaScript 9.7%
  • CSS 0.8%