Soroban
Soroban is Stellar’s smart contracts platform — Rust programs compiled to WebAssembly that run deterministically on the Stellar network for programmable payments, tokenized assets, and DeFi logic.
How it works
Soroban contracts are written in Rust with the soroban-sdk and compiled to WebAssembly, which validating nodes execute inside a metered sandbox — CPU instructions, memory, and ledger I/O are priced as resource fees rather than Ethereum-style gas. Contracts expose typed interfaces, enforce authorization explicitly through require_auth, and persist data in ledger entries with a time-to-live that must be extended to keep state alive.
Soroban launched on Stellar mainnet in 2024 after a staged rollout and was a headline topic at Meridian alongside asset tokenization. Production deployments center on payments, regulated assets, and DeFi primitives that benefit from Stellar’s ~5-second finality and sub-cent fees.
Soroban vs the EVM
Compared with Ethereum’s EVM, Soroban trades generality for predictability: no reentrant call stacks by default, durable versus temporary storage tiers with TTL, Rust’s memory safety and ownership model, and hard per-transaction resource caps. Audits therefore focus on authorization coverage, cross-contract trust assumptions, storage-expiry logic, and arithmetic/asset handling rather than the classic Solidity bug catalogue.
Frequently Asked Questions
What language are Soroban contracts written in?
Rust, compiled to WebAssembly via the soroban-sdk. Other languages that target WASM can produce contracts, but the Rust SDK is the supported path with typed interfaces, test utilities, and authorization helpers.
Does Soroban use gas like Ethereum?
Soroban prices execution as resource fees metered on CPU instructions, memory, ledger entries, and bandwidth — the same idea as gas but metered per resource dimension and designed to keep fees low and predictable.
When did Soroban launch?
Soroban went live on Stellar mainnet in 2024 following a multi-phase rollout, after running on test networks and futurenet during development.
Related Standards
- •Stellar Soroban — WASM smart contracts platform
- •soroban-sdk — Rust contract SDK
- •SEP-41 / CAP-0046-06 — standard token contract interface
Further Reading
Products & Services
Need help with this?
We consult and build across all of these domains — tell us what you are working on.
