#sdk #soroban #loam #lazy-evaluation #contracts #env #setting

no-std loam-soroban-sdk

A wrapper around the soroban-sdk, providing some soroban specific traits

14 releases

new 0.6.15 Sep 30, 2024
0.6.13 Jul 20, 2024
0.6.7 Mar 22, 2024
0.6.5 Sep 22, 2023

#486 in Magic Beans

Download history 91/week @ 2024-06-15 65/week @ 2024-06-22 32/week @ 2024-06-29 11/week @ 2024-07-06 296/week @ 2024-07-13 135/week @ 2024-07-20 65/week @ 2024-07-27 124/week @ 2024-08-03 21/week @ 2024-08-10 18/week @ 2024-08-17 10/week @ 2024-08-24 4/week @ 2024-08-31 6/week @ 2024-09-07 44/week @ 2024-09-14 78/week @ 2024-09-21 185/week @ 2024-09-28

315 downloads per month
Used in 7 crates (via loam-sdk)

Apache-2.0

7KB
100 lines

loam-soroban-sdk

Wrapper around Soroban SDK which adds features needed by Loam SDK, such as:

  • lazy getting and setting
  • implementation of Loam'sIntoKey derive macro that relies on Soroban SDK's specifics
  • abstraction of Soroban SDK's env to enable Loam SDK-authored contracts to avoid referencing it at all and use Rust's standard mutable/immutable method definition syntax (my_method(&self, ...) vs my_method(&mut self, ...)).

Dependencies

~15–24MB
~406K SLoC