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

no-std tezos-smart-rollup-host

Safe Runtime trait for Tezos Smart Rollups host functions

4 releases

0.2.2 Nov 24, 2023
0.2.1 Jul 28, 2023
0.2.0 Jun 15, 2023
0.1.0 Apr 25, 2023

#2319 in Magic Beans

Download history 22/week @ 2023-12-31 30/week @ 2024-01-07 19/week @ 2024-01-14 9/week @ 2024-01-21 15/week @ 2024-01-28 24/week @ 2024-02-04 20/week @ 2024-02-11 31/week @ 2024-02-18 41/week @ 2024-02-25 34/week @ 2024-03-03 56/week @ 2024-03-10 49/week @ 2024-03-17 35/week @ 2024-03-24 66/week @ 2024-03-31 143/week @ 2024-04-07 49/week @ 2024-04-14

303 downloads per month
Used in 9 crates (8 directly)

MIT license

110KB
2K SLoC

Wrapper for the tezos_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 tezos_smart_rollup_core crate defines these as extern "C" functions that are unsafe to call.

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

Dependencies

~0–2.7MB
~54K SLoC