5 stable releases

21.2.2 Aug 31, 2024
21.2.1 Aug 29, 2024
21.2.0 Aug 10, 2024
21.0.3 Jul 7, 2024

#6 in #zephyr

Download history 183/week @ 2024-07-04 20/week @ 2024-07-11 1/week @ 2024-07-25 131/week @ 2024-08-08 16/week @ 2024-08-15 267/week @ 2024-08-29 12/week @ 2024-09-05 23/week @ 2024-09-12 11/week @ 2024-09-19 28/week @ 2024-09-26 19/week @ 2024-10-03

81 downloads per month
Used in 2 crates (via zephyr-vm)

Apache-2.0

2MB
40K SLoC

rs-soroban-env

Warning: this fork of the soroban host environment is not SDF-maintained, hasn't been audited, doesn't enforce correct resources metering and should not be used to execute contracts in a Soroban production environment. This is a fork that enables Soroban to be hardwired into Zephyr.

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.

Dependencies

~22MB
~441K SLoC