elizaos-plugin-evm 2.0.0

EVM blockchain plugin for elizaOS - Rust implementation with alloy-rs
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#![allow(missing_docs)]
//! WASM bindings for elizaOS plugin-evm

use wasm_bindgen::prelude::*;

/// Initialize the WASM module with panic hook for better error messages
#[wasm_bindgen(start)]
pub fn init_wasm() {
    #[cfg(feature = "wasm")]
    {
        #[cfg(feature = "console_error_panic_hook")]
        console_error_panic_hook::set_once();
    }
}