Skip to main content
Module

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

Lightweight client for Substrate-based chains, such as Polkadot and Kusama.
Go to Latest
interface ServerConfig
import { type ServerConfig } from "https://deno.land/x/smoldot2@light-js-deno-v2.0.21/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.