#soroban #loam #smart-contracts #abstraction #traits #lazy-evaluation #soroban-sdk

no-std loam-soroban-sdk

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

15 releases

0.6.16 Jan 22, 2025
0.6.15 Sep 30, 2024
0.6.14 Aug 5, 2024
0.6.13 Jul 20, 2024
0.6.5 Sep 22, 2023

#902 in Magic Beans

Download history 17/week @ 2024-10-09 19/week @ 2024-10-16 5/week @ 2024-10-23 5/week @ 2024-10-30 9/week @ 2024-11-06 3/week @ 2024-11-13 11/week @ 2024-11-20 8/week @ 2024-11-27 28/week @ 2024-12-04 46/week @ 2024-12-11 8/week @ 2024-12-18 144/week @ 2025-01-22

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

Apache-2.0

20KB
514 lines

loam-soroban-sdk

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

  • lazy getting and setting
  • implementation of loamstorage macro
  • deprecated 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–20MB
~402K SLoC