Soroban

Definition: Soroban is Stellar’s smart-contract platform, integrated into the Stellar network. Contracts are written in Rust and compiled to WebAssembly (Wasm); Soroban is not a separate blockchain or a token.

Protocol documentation Soroban documentation
Directories Stellar Ecosystem Directory

How Soroban works

Developers build contracts with the Soroban Rust SDK. The SDK supplies contract-specific data structures and functions, including access to persistent contract storage, cryptographic operations, and calls to other contracts. The toolchain supports compiling, testing, inspecting, versioning, and deploying contracts; local testing can use the same host environment that runs contracts on the network.

How it fits Stellar

Soroban adds programmable contract execution to the Stellar network while the network also retains its established account, asset, and payment operations. The contract environment and the classic operation model are different interfaces. Applications should check the current documentation rather than assume every classic operation is directly callable from a Soroban contract.

Developer constraints

The documented contract environment currently supports Rust, with a constrained subset of the language and resource limits. Standard Rust libraries and many third-party crates are not automatically available. This makes the specialized SDK, testing, security review, authorization design, and resource budgeting part of normal contract development.

What Soroban does not mean

A Soroban contract is software deployed to Stellar, not a new network with its own native coin. A token represented by a Soroban contract can also differ from a Classic Stellar asset, although Stellar provides a Stellar Asset Contract for interacting with Classic assets through Soroban.

Related Terms

See Also

Sources