soroban-simulation

Crates.iosoroban-simulation
lib.rssoroban-simulation
version21.1.2
sourcesrc
created_at2024-01-10 03:26:09.376716
updated_at2024-06-24 22:52:48.24154
descriptionSoroban host invocation simulations.
homepagehttps://github.com/stellar/rs-soroban-env
repositoryhttps://github.com/stellar/rs-soroban-env
max_upload_size
id1094879
size104,810
Stellar (Rust crate publisher) (stellar-crates)

documentation

README

rs-soroban-env

Rust contract-environment interface and (optional) host implementation for Soroban.

The soroban-env-common crate contains elements of the shared environment-interface between smart contract guest and host: the Env trait that defines the set of available environment functions as well as the Val type that can pass back and forth through the WASM calling convention. Additionally small wrappers around subtypes of Val are included: Object, Symbol, Error, etc.

The soroban-env-guest crate contains the guest-side stub implementation of the environment interface called Guest dependent on extern fns provided by the host implementation. This can be used in a WASM runtime that provides the extern fns.

The soroban-env-host crate contains the host-side full implementation of the environment interface called Host. This can be used either in the real blockchain host, or for local testing in the SDK.

Commit count: 851

cargo fmt