#mavryk #rollup #no-alloc #api-bindings #smart

no-std mavryk-smart-rollup-host

Safe Runtime trait for Mavryk Smart Rollups host functions

1 unstable release

0.2.2 Jul 30, 2024

#5 in #mavryk

Download history 19/week @ 2024-08-26 2/week @ 2024-09-02 12/week @ 2024-09-09 39/week @ 2024-09-16 29/week @ 2024-09-23 15/week @ 2024-09-30 14/week @ 2024-10-14 11/week @ 2024-10-21 7/week @ 2024-10-28 10/week @ 2024-11-04 14/week @ 2024-11-18 15/week @ 2024-11-25 9/week @ 2024-12-02 39/week @ 2024-12-09

77 downloads per month
Used in 8 crates

MIT license

110KB
2K SLoC

Wrapper for the mavryk_smart_rollup_core host function definitions as a safe API.

The rollup make host functions available to the kernel, as a set of C-style APIs. The mavryk_smart_rollup_core crate defines these as extern "C" functions that are unsafe to call.

Using mavryk_smart_rollup_host allows a kernel to access these capabilites without relying on unsafe code.

Dependencies

~0–2.9MB
~56K SLoC