#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

#2811 in Magic Beans

Download history 56/week @ 2024-04-20 30/week @ 2024-04-27 27/week @ 2024-05-04 27/week @ 2024-05-11 24/week @ 2024-05-18 48/week @ 2024-05-25 39/week @ 2024-06-01 18/week @ 2024-06-08 21/week @ 2024-06-15 42/week @ 2024-06-22 15/week @ 2024-06-29 6/week @ 2024-07-06 40/week @ 2024-07-13 27/week @ 2024-07-20 33/week @ 2024-07-27 38/week @ 2024-08-03

138 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.8MB
~56K SLoC