#scaling #ethereum #blockchain #layer-2

macro raiden-macros

Macros for the Raiden Network implementation in Rust

1 unstable release

0.1.0 Jul 8, 2023

#18 in #layer-2


Used in 8 crates (2 directly)

MIT license

3KB

Raiden Macros

Defines some derive macros for converting events and state changes.

IntoStateChange

#[derive(IntoStateChange)]
pub struct Block {
    ...snip
}

IntoEvent

Implemented for events.

#[derive(IntoEvent)]
pub struct SendWithdrawRequest {
    ...snip
}

Dependencies

~1.5MB
~33K SLoC