UNPKG

tokamak-staking-lib

Version:
15 lines (14 loc) 426 B
import Web3 from "web3"; import { provider } from "web3-core"; export default class Web3Connector { private static _instance; private static _provider; private static _host; private readonly _web3; private constructor(); static instance(): Web3Connector; static setNetwork(provider: provider): void; setProvider(provider: provider): void; get web3(): Web3; static get host(): string; }