Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/smoldot2/worker-browser.js

Alternative client for Substrate-based chains.
Go to Latest
import * as smoldot2 from "https://deno.land/x/smoldot2@light-js-deno-v1.0.6/worker-browser.js";

Functions

Runs the CPU-heavy parts of smoldot. Must be passed a port whose other end is passed to ClientOptions.portToWorker.