Skip to content
项目

关于

Rust SDK for Soroban contracts.

开发工具

这些数字如何统计

实测星标增长

24小时
+1
7天
0
15天
+1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

rs-soroban-sdk

Rust SDK for building contracts that can be deployed on the Stellar network and execute in the Soroban runtime.

Rust Docs: https://docs.rs/soroban-sdk

Stellar Developer Docs: https://developers.stellar.org

Support

The two most recent soroban-sdk major releases are supported with critical security fixes. Critical security issues may be backported to earlier versions if practical, but not guaranteed. General bugs are only fixed on, and new features are only added to, the latest major release.

Build Target

Contracts must be built for the wasm32v1-none target, available with Rust 1.84+. It is the only wasm target supported by the Soroban runtime on Stellar.

Build contracts with stellar contract build from stellar-cli, which targets wasm32v1-none and applies the build settings the Soroban runtime requires. Do not build contracts with cargo build. The major version of stellar-cli must be the same as or greater than the major version of soroban-sdk.

The wasm32-unknown-unknown target is not supported when building with Rust 1.82 or newer, because on those versions the target enables wasm features (reference-types, multi-value) that the Soroban environment does not support and that cannot be easily disabled. Building for wasm32-unknown-unknown on Rust 1.82+ produces a build error.

Contributing

Contributing to the SDK? Read CONTRIBUTING.md.

探索相关项目

加载中…