Skip to content

kanwalpreetd/rs-soroban-env

This branch is 2 commits ahead of, 56 commits behind stellar/rs-soroban-env:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1805c22 · Jul 13, 2024
May 4, 2023
Jul 13, 2024
Mar 26, 2024
Jan 10, 2024
Jun 21, 2024
Feb 26, 2024
Jun 24, 2024
May 3, 2024
Jun 6, 2024
Apr 11, 2024
Apr 12, 2024
Apr 3, 2024
Jun 24, 2024
Jun 24, 2024
Jul 28, 2022
Apr 16, 2024
Sep 20, 2023
Sep 9, 2022
Feb 13, 2024
Jun 21, 2024
Jul 12, 2022

Repository files navigation

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.

About

Rust environment for Soroban contracts.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 99.7%
  • Other 0.3%