X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2Fjs%2Fbitcoinjs-extensions.js;h=d3f9847a2d8d98d31677d3745a02aef8db7e7deb;hb=5a1494327fadc649dac7dca9075c02164655ad1e;hp=4154103c50299082663315b121c7de5b280056fe;hpb=83fefeaf0ba753d9ce858efb08c4ae7010180fa8;p=perso%2FImmae%2FProjets%2FCryptomonnaies%2FBIP39.git diff --git a/src/js/bitcoinjs-extensions.js b/src/js/bitcoinjs-extensions.js index 4154103..d3f9847 100644 --- a/src/js/bitcoinjs-extensions.js +++ b/src/js/bitcoinjs-extensions.js @@ -297,7 +297,7 @@ bitcoinjs.bitcoin.networks.nubits = { }; bitcoinjs.bitcoin.networks.bgold = { - messagePrefix: 'unused', + messagePrefix: '\x1DBitcoin Gold Signed Message:\n', bip32: { public: 0x0488b21e, private: 0x0488ade4 @@ -446,8 +446,8 @@ bitcoinjs.bitcoin.networks.bitcore = { public: 0x0488B21E, private: 0x0488ADE4, }, - pubKeyHash: 0x00, - scriptHash: 0x05, + pubKeyHash: 0x03, + scriptHash: 0x7D, wif: 0x80, }; @@ -495,6 +495,17 @@ bitcoinjs.bitcoin.networks.cannacoin = { wif: 0x9c, }; +bitcoinjs.bitcoin.networks.cryptoescudo = { + messagePrefix: '\x18Cryptoescudo Signed Message:\n', + bip32: { + public: 0x0488b21e, + private: 0x0488ade4, + }, + pubKeyHash: 0x1c, + scriptHash: 0x05, + wif: 0x9c, +}; + bitcoinjs.bitcoin.networks.clubcoin = { messagePrefix: '\x18ClubCoin Signed Message:\n', bip32: { @@ -1023,6 +1034,17 @@ bitcoinjs.bitcoin.networks.rubycoin = { wif: 0xbc, }; +bitcoinjs.bitcoin.networks.salus = { +messagePrefix: '\x18Salus Signed Message:\n', +bip32: { + public: 0x0488B21E, + private: 0x0488ADE4, +}, +pubKeyHash: 0x3f, +scriptHash: 0xc4, +wif: 0xbf, +}; + bitcoinjs.bitcoin.networks.smileycoin = { messagePrefix: '\x18Smileycoin Signed Message:\n', bip32: { @@ -1045,6 +1067,28 @@ bitcoinjs.bitcoin.networks.solarcoin = { wif: 0x92, }; +bitcoinjs.bitcoin.networks.stash = { + messagePrefix: '\x18Stash Signed Message:\n', + bip32: { + public: 0x0488b21e, + private: 0x0488ade4 + }, + pubKeyHash: 0x4c, + scriptHash: 0x10, + wif: 0xcc +}; + +bitcoinjs.bitcoin.networks.stashtn = { + messagePrefix: '\x18Stash Test Signed Message:\n', + bip32: { + public: 0x043587cf, + private: 0x04358394 + }, + pubKeyHash: 0x8c, + scriptHash: 0x13, + wif: 0xef +}; + bitcoinjs.bitcoin.networks.stratis = { messagePrefix: '\x18Stratis Signed Message:\n', bip32: {