3 unstable releases
0.2.0 | Aug 21, 2024 |
---|---|
0.1.1 | Apr 19, 2024 |
0.1.0 | Jan 17, 2024 |
#5 in #celestia
143 downloads per month
255KB
5.5K
SLoC
Lumina node wasm
A compatibility layer for the Lumina
node to
work within a browser environment and be operable with javascript.
import init, { Node, NodeConfig, Network } from "/wasm/lumina_node_wasm.js";
await init();
const config = NodeConfig.default(Network.Mainnet);
const node = await new Node(config);
await node.wait_connected();
await node.request_head_header();
Dependencies
~0–39MB
~624K SLoC