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

x/smoldot2/worker-deno.d.ts

Lightweight client for Substrate-based chains, such as Polkadot and Kusama.
Latest
import * as smoldot2 from "https://deno.land/x/smoldot2@light-js-deno-v2.0.30/worker-deno.d.ts";

Functions

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