@dapplets/dapplet-extension
Version:
The Bridge to the Augmented Web.
14 lines (13 loc) • 549 B
TypeScript
import * as ethers from 'ethers';
import { ChainTypes } from '../../common/types';
export declare class ProxySigner extends ethers.Signer {
private _app;
private _chain;
provider: ethers.ethers.providers.Web3Provider;
constructor(_app: string, _chain: ChainTypes);
connect(): ethers.ethers.Signer;
getAddress(): Promise<string>;
signMessage(): Promise<string>;
signTransaction(): Promise<string>;
sendTransaction(transaction: ethers.providers.TransactionRequest): Promise<ethers.providers.TransactionResponse>;
}