Soroban

Note

The Soroban target is still pre-alpha.

Solang can compile Solidity contracts for the Soroban smart contract platform on Stellar. The Soroban target is already useful for a growing subset of contracts, but it is not yet feature-complete.

Documentation

The Soroban documentation is split into the following sections:

For the upstream Rust examples themselves, see stellar/soroban-examples.

Status

The Soroban target is experimental. It is usable for a documented subset of Solidity contracts, but it is not yet feature-complete or production-ready. See the Soroban support matrix.

Developers should rely on the support matrix and compatibility pages for the current documented behavior.

Background

Soroban contracts run as Wasm modules and communicate with the Soroban host through Soroban Val values and host objects. For platform background, see Host and Guest and CAP-0046-1.