Registry / other / soroban-sdk

soroban-sdk

JSON →
library26.1.0rscratesunverified

Soroban SDK for building smart contracts on the Stellar network.

# Cargo.toml [dependencies] soroban-sdk = "26.1.0"
INSTALL
IMPORT
SIG · SOROBAN-SDK
S
soroban-sdk
otherrustv26.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

contractimpl
use soroban_sdk::contractimpl;

Define a Soroban smart contract.

use soroban_sdk::{contractimpl, Env, Symbol}; pub struct HelloContract; #[contractimpl] impl HelloContract { pub fn hello(env: Env, to: Symbol) -> Symbol { Symbol::short("Hello") + to } }
Debug
Known issues
gotchaRequires specific Rust nightly toolchain and target setup.
fix
Use `rustup target add wasm32-unknown-unknown` and ensure nightly is installed.
affects: *
Upgrade
Version history
26.1.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
4
Amazon
1
Resources
soroban-sdk — cargo add soroban-sdk · libregistry