@dapplets/dapplet-extension
Version:
The Bridge to the Augmented Web.
10 lines (9 loc) • 415 B
TypeScript
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>;