#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

#3 in #loam

Download history 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 10/week @ 2025-01-29 25/week @ 2025-02-05 78/week @ 2025-02-12 13/week @ 2025-02-19 14/week @ 2025-02-26

132 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
~410K SLoC