Skip to main content

Write Contracts

Soroban Rust SDK

The soroban-sdk Rust crate contains the Soroban Rust SDK.

info

Report issues and share feedback about the soroban-sdk here.

SDK Documentation

SDK documentation is available at: https://docs.rs/soroban-sdk

Subscribe to Releases

Subscribe to releases on the GitHub repository: https://github.com/stellar/rs-soroban-sdk

Add soroban-sdk as a Dependency

Use crates.io to find the version of the most recent SDK release.

Add the following sections to the Cargo.toml to import the soroban-sdk and replace $VERSION with the released version.

[dependencies]
soroban-sdk = $VERSION

[dev_dependencies]
soroban-sdk = { version = $VERSION, features = ["testutils"] }

AssemblyScript SDK

The as-soroban-sdk is an open source SDK that supports writing programs for the Soroban smart contract platform by using the AssemblyScript programming language.

The AssemblyScript Soroban SDK is maintained by dedicated community developer, Soneso.

info

Report issues and share feedback about the AssemblyScript Soroban SDK here.

SDK Documentation

SDK documentation is available at: https://github.com/Soneso/as-soroban-sdk

Examples

Many examples are available at: https://github.com/Soneso/as-soroban-examples

Subscribe to Releases

Subscribe to releases on the GitHub repository: https://github.com/Soneso/as-soroban-sdk

Add as-soroban-sdk as a Dependency

npm install as-soroban-sdk