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

x/smoldot2/index-nodejs.d.ts>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.30/index-nodejs.d.ts";

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

Can never fail.

Parameters

optional
options: ClientOptions

Configuration of the client. Defaults to {}.