X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=libs%2Fstellar-util%2Fstellar-util.js;h=008dfe614361a6fccb037a79c2660fa702f47252;hb=ad59508d7c4ecb487182d0d3306f01ffb4e48fb8;hp=a95d78d0478f9186359a99a353ef00294d15f28e;hpb=22c443df83bae9c25e80f497cb1a3695c6da5707;p=perso%2FImmae%2FProjets%2FCryptomonnaies%2FBIP39.git diff --git a/libs/stellar-util/stellar-util.js b/libs/stellar-util/stellar-util.js index a95d78d..008dfe6 100644 --- a/libs/stellar-util/stellar-util.js +++ b/libs/stellar-util/stellar-util.js @@ -5,5 +5,12 @@ window.stellarUtil = { getKeypair: function (path, seed) { const result = edHd.derivePath(path, seed); return StellarBase.Keypair.fromRawEd25519Seed(result.key); - } + }, + dummyNetwork: { + bip32: {public: 0, private: 0}, + messagePrefix: '', + pubKeyHash: 0, + scriptHash: 0, + wif: 0, + }, }