mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-01-12 03:54:13 +00:00
18 lines
513 B
TypeScript
18 lines
513 B
TypeScript
import { DeterministicWallet } from './deterministic';
|
|
|
|
export interface ChainCodeResponse {
|
|
chainCode: string;
|
|
publicKey: string;
|
|
}
|
|
|
|
export class HardwareWallet extends DeterministicWallet {
|
|
// @ts-ignore
|
|
public static getChainCode(dpath: string): Promise<ChainCodeResponse> {
|
|
throw new Error(`getChainCode is not implemented in ${this.constructor.name}`);
|
|
}
|
|
|
|
public displayAddress(): Promise<boolean> {
|
|
throw new Error(`displayAddress is not implemented in ${this.constructor.name}`);
|
|
}
|
|
}
|