@fl0rek/lumina-node-wasm
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

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();

Package Sidebar

Install

npm i @fl0rek/lumina-node-wasm

Homepage

www.eiger.co

Weekly Downloads

9

Version

0.2.0

License

Apache-2.0

Unpacked Size

3.93 MB

Total Files

5

Last publish

Collaborators

  • fl0rek