export default class DeterministicWallet { private address: string; private dPath: string; private index: number; constructor(address: string, dPath: string, index: number) { this.address = address; this.dPath = dPath; this.index = index; } public getAddress(): Promise { return Promise.resolve(this.address); } public getPath(): string { return `${this.dPath}/${this.index}`; } }