Introducing

Soroban Smart Contracts

A developer-friendly, Rust-based smart contracts platform designed for scale and sensibility.

Usage

Designed For

Builders

Builders With tools such as plug-and-play SDKs, Soroban CLI, RPC server, and local sandbox, Soroban provides a user-friendly experience that gets developers up and running quickly. Start building with flexible, reusable functions and ready-to-use contracts.

Scale

Soroban is designed with scalability in mind. Boost performance with multi-core scaling, an optimized fee model, and without pesky serialization loops. Soroban also tackles the elephant in the room head-on by addressing the problem of state bloat.

Real-World Utility

Connect to Stellar’s exceptional interoperability by accessing its wide variety of on-chain assets and worldwide on and off-ramps. Also, benefit from five-second contract finality on a proven and mature network boasting 150 TPS.

Timing

Protocol 20 Release Schedule

Protocol 20 marks the most transformative upgrade to the Stellar network to date. And to preserve the network's performance, security, and stability during this time, the ecosystem has agreed that a slow and steady process makes a lot of sense. So, following the upgrade vote, validators will deploy a phased approach to gradually and responsibly increase capacity for Soroban transactions to monitor the impact of smart contract functionality on the network.

Installation

Install & Learn

Install the Rust toolchain and Soroban CLI to begin writing your first Soroban smart contract. Learn more and continue building by going to the Soroban documentation. Or check out all available Soroban-related learning materials, programs, and more in Sorobanland.

#![no_std]
use soroban_sdk::{contractimpl, vec, Env, Symbol, Vec};

#[contract]
pub struct HelloContract;

#[contractimpl]
impl HelloContract {
pub fn hello(env: Env, to: Symbol) -> Vec<Symbol> {
vec![&env, symbol_short!("Hello"), to]
}
}

Setup

Start Building

1. Setup

Install and configure Rust and the Sorban CLI

Get Started

2. Hello World

Create your first Soroban smart contract

Create Project

3. Deploy to Testnet

Deploy a smart contract to a live test network

Deploy Now

4. Storing Data

Write a smart contract that stores and retrieves data

Store Data

5. Deploy Incrementor

Deploy the incrementor contract to Testnet

Deploy Now

6. Create an App

Make a frontend web app that interacts with your smart contract

Create App

Grants & Funding

Accelerate Your Project

Submit your Soroban project to the Stellar Community Fund and request up to $150K worth of XLM in awards to cover 2-3 months of development costs. This is your chance to play a fundamental role in bootstrapping the Soroban ecosystem by creating the tools, protocols, dapps, and resources necessary for it to thrive.