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

x/smoldot2/index-browser.js>start

Lightweight client for Substrate-based chains, such as Polkadot and Kusama.
Latest
function start
import { start } from "https://deno.land/x/smoldot2@light-js-deno-v2.0.31/index-browser.js";

Initializes a new client. This is a pre-requisite to connecting to a blockchain.

Can never fail.

Parameters

options

Configuration of the client. Defaults to {}.