@q-dev/q-ts-gdk-sdk
Version:
Typescript Library to interact with GDK Contracts
14 lines (13 loc) • 621 B
TypeScript
import Web3 from "web3";
import { InputOptions } from "@truffle/hdwallet-provider/dist/constructor/Constructor";
import HDWalletProvider from "@truffle/hdwallet-provider";
export declare class QSdkProvider extends HDWalletProvider {
readonly hdWalletConfig: InputOptions;
constructor(hdWalletConfig: InputOptions);
}
export declare class Web3Factory {
static getVersion(): string;
static createWeb3(hdWalletConfig: InputOptions): Web3;
static createFromMnemonic(providerOrUrl: string, mnemonic: string): Web3;
static createFromPrivateKeys(providerOrUrl: string, ...privateKeys: string[]): Web3;
}