#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

#4 in #mavryk

Download history 96/week @ 2024-07-25 25/week @ 2024-08-01 10/week @ 2024-08-08 17/week @ 2024-08-15 12/week @ 2024-08-22 14/week @ 2024-08-29 8/week @ 2024-09-05 31/week @ 2024-09-12 28/week @ 2024-09-19 23/week @ 2024-09-26 6/week @ 2024-10-03

91 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.8MB
~54K SLoC