]>
git.immae.eu Git - perso/Immae/Projets/Cryptomonnaies/BIP39.git/blob - libs/stellar-util/stellar-util.js
1 const StellarBase
= require('stellar-base');
2 const edHd
= require('ed25519-hd-key');
5 getKeypair: function (path
, seed
) {
6 const result
= edHd
.derivePath(path
, seed
);
7 return StellarBase
.Keypair
.fromRawEd25519Seed(result
.key
);
10 bip32: {public: 0, private: 0},