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

x/smoldot2/internals/remote-instance.d.ts>ServerConfig

Lightweight client for Substrate-based chains, such as Polkadot and Kusama.
Latest
interface ServerConfig
import { type ServerConfig } from "https://deno.land/x/smoldot2@light-js-deno-v2.0.31/internals/remote-instance.d.ts";

Configuration for startInstanceServer.

Properties

envVars: string[]

Environment variables that the instance can pull.

performanceNow: () => number

Returns the number of milliseconds since an arbitrary epoch.

getRandomValues: (buffer: Uint8Array) => void

Fills the given buffer with randomly-generated bytes.