UNPKG

@hdwallet/core

Version:

A complete Hierarchical Deterministic (HD) Wallet generator for 200+ cryptocurrencies, built with TypeScript.

13 lines 516 B
// SPDX-License-Identifier: MIT import { pointScalarMulBase } from '../../../../libs/ed25519-utils'; import { SLIP10Ed25519MoneroPublicKey } from './public-key'; import { SLIP10Ed25519PrivateKey } from '../../ed25519'; export class SLIP10Ed25519MoneroPrivateKey extends SLIP10Ed25519PrivateKey { getName() { return 'SLIP10-Ed25519-Monero'; } getPublicKey() { return SLIP10Ed25519MoneroPublicKey.fromBytes(pointScalarMulBase(this.getRaw())); } } //# sourceMappingURL=private-key.js.map