UNPKG

@dapplets/dapplet-extension

Version:
10 lines (9 loc) 415 B
import { ethers } from 'ethers'; import { EventDef } from '../connection'; import { IEtherneumWallet } from './types'; export declare function createWalletConnection<T>(app: string, cfg: { network: string; }, eventDef?: EventDef<any>): Promise<IEtherneumWallet>; export declare function createContractWrapper(app: string, cfg: { network: string; }, address: string, options: any): Promise<ethers.Contract>;