ethers.js/packages/experimental/brain-wallet.d.ts
2019-05-14 18:48:48 -04:00

7 lines
593 B
TypeScript

import { ethers } from "ethers";
export declare class BrainWallet extends ethers.Wallet {
static _generate(username: ethers.Bytes | string, password: ethers.Bytes | string, legacy: boolean, progressCallback?: ethers.utils.ProgressCallback): Promise<BrainWallet>;
static generate(username: ethers.Bytes | string, password: ethers.Bytes | string, progressCallback?: ethers.utils.ProgressCallback): Promise<BrainWallet>;
static generateLegacy(username: ethers.Bytes | string, password: ethers.Bytes | string, progressCallback?: ethers.utils.ProgressCallback): Promise<BrainWallet>;
}