@hdwallet/core
Version:
A complete Hierarchical Deterministic (HD) Wallet generator for 200+ cryptocurrencies, built with TypeScript.
22 lines • 518 B
JavaScript
// SPDX-License-Identifier: MIT
export class Seed {
seed;
options;
constructor(seed, options = {}) {
this.seed = seed;
this.options = options;
}
static getName() {
throw new Error("Must override getName()");
}
getName() {
return this.constructor.getName();
}
getSeed() {
return this.seed;
}
static fromMnemonic(mnemonic, options = {}) {
throw new Error("Must override fromMnemonic()");
}
}
//# sourceMappingURL=seed.js.map