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

no-std mavryk-smart-rollup-host

Safe Runtime trait for Mavryk Smart Rollups host functions

1 unstable release

0.2.2 Jul 30, 2024

#3 in #mavryk

28 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–3MB
~61K SLoC