2020-01-10 20:09:40 -05:00
|
|
|
import { ethers } from "ethers";
|
2020-01-10 03:19:21 -05:00
|
|
|
import Eth from "@ledgerhq/hw-app-eth";
|
2020-01-10 20:09:40 -05:00
|
|
|
export declare class LedgerSigner extends ethers.Signer {
|
2020-01-10 03:19:21 -05:00
|
|
|
readonly type: string;
|
|
|
|
readonly path: string;
|
|
|
|
readonly _eth: Promise<Eth>;
|
2020-01-10 20:09:40 -05:00
|
|
|
constructor(provider?: ethers.providers.Provider, type?: string, path?: string);
|
|
|
|
_retry<T = any>(callback: (eth: Eth) => Promise<T>, timeout?: number): Promise<T>;
|
2020-01-10 03:19:21 -05:00
|
|
|
getAddress(): Promise<string>;
|
2020-01-10 20:09:40 -05:00
|
|
|
signMessage(message: ethers.utils.Bytes | string): Promise<string>;
|
|
|
|
signTransaction(transaction: ethers.providers.TransactionRequest): Promise<string>;
|
|
|
|
connect(provider: ethers.providers.Provider): ethers.Signer;
|
2020-01-10 03:19:21 -05:00
|
|
|
}
|
2021-01-19 05:22:54 -05:00
|
|
|
//# sourceMappingURL=ledger.d.ts.map
|