mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-02-24 17:52:45 +00:00
9 lines
193 B
TypeScript
9 lines
193 B
TypeScript
import HDKey = require('hdkey');
|
|
const hdKey = new HDKey();
|
|
hdKey.derive('m/1/42');
|
|
hdKey.privateKey;
|
|
hdKey.publicKey;
|
|
hdKey.chainCode;
|
|
hdKey.toJSON();
|
|
HDKey.fromJSON({ xpriv: '', xpub: '' });
|