X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2Fjs%2Fbitcoinjs-extensions.js;h=d788b028cb3f37231c1198b6df3660dfa72bdc4d;hb=3fa0f4cbef006255a9fa1823bc2d60e46e246a97;hp=be733546c07a104e6d9ac9a931554d13be2e468c;hpb=214c584c4007f6fddb1a1497c0786adefc7b8207;p=perso%2FImmae%2FProjets%2FCryptomonnaies%2FBIP39.git diff --git a/src/js/bitcoinjs-extensions.js b/src/js/bitcoinjs-extensions.js index be73354..d788b02 100644 --- a/src/js/bitcoinjs-extensions.js +++ b/src/js/bitcoinjs-extensions.js @@ -207,6 +207,18 @@ bitcoinjs.bitcoin.networks.myriadcoin = { wif: 0xb2 }; + +bitcoinjs.bitcoin.networks.onixcoin = { + messagePrefix: 'unused', + bip32: { + public: 0x049d7cb2, + private: 0x049d7878 + }, + pubKeyHash: 0x4B, + scriptHash: 0x05, + wif: 0x80 +}; + bitcoinjs.bitcoin.networks.pivx = { messagePrefix: 'unused', bip32: { @@ -251,6 +263,17 @@ bitcoinjs.bitcoin.networks.nubits = { wif: 0x96, }; +bitcoinjs.bitcoin.networks.bgold = { + messagePrefix: 'unused', + bip32: { + public: 0x0488b21e, + private: 0x0488ade4 + }, + pubKeyHash: 38, + scriptHash: 23, + wif: 128 +}; + bitcoinjs.bitcoin.networks.bitcoinCashBitbpay = { messagePrefix: '\x18Bitcoin Signed Message:\n', bip32: { @@ -273,35 +296,24 @@ bitcoinjs.bitcoin.networks.monacoin = { wif: 0xb0 }; -bitcoinjs.bitcoin.networks.bitcoinBip49 = { - messagePrefix: '\x18Bitcoin Signed Message:\n', - bip32: { - public: 0x049d7cb2, - private: 0x049d7878 - }, - pubKeyHash: 0x00, - scriptHash: 0x05, - wif: 0x80 -}; - -bitcoinjs.bitcoin.networks.testnetBip49 = { - messagePrefix: '\x18Bitcoin Signed Message:\n', - bip32: { - public: 0x044a5262, - private: 0x044a4e28 - }, - pubKeyHash: 0x6f, - scriptHash: 0xc4, - wif: 0xef -}; - -bitcoinjs.bitcoin.networks.litecoinBip49 = { +bitcoinjs.bitcoin.networks.litecoinXprv = { messagePrefix: '\x19Litecoin Signed Message:\n', bip32: { - public: 0x01b26ef6, - private: 0x01b26792 + public: 0x0488b21e, + private: 0x0488ade4, }, pubKeyHash: 0x30, scriptHash: 0x32, wif: 0xb0 }; + +bitcoinjs.bitcoin.networks.komodo = { + messagePrefix: '\x18Komodo Signed Message:\n', + bip32: { + public: 0x0488B21E, + private: 0x0488ADE4 + }, + pubKeyHash: 0x3c, + scriptHash: 0x55, + wif: 0xbc +};