koobor-sdk
Version:
Koobor Gaming Platform SDK
6 lines (5 loc) • 363 B
TypeScript
import { KooborContext } from "../core/KooborContext";
export declare function initWeb3(ethereum: any, onWeb3Ready: any): Promise<void>;
export declare function getContext(gameName: string): Promise<KooborContext>;
export declare function switchContext(kooborContext?: KooborContext): void;
export declare function getCurrentContext(): KooborContext | undefined;