]> git.immae.eu Git - perso/Immae/Projets/Cryptomonnaies/BIP39.git/blobdiff - src/js/bitcoinjs-extensions.js
Nebulas. Add test spec. Replace nebulas.js by account part of nebulas.js only.
[perso/Immae/Projets/Cryptomonnaies/BIP39.git] / src / js / bitcoinjs-extensions.js
index 4cd92c533675f19b5e4c5cb21e10ec7578074730..f65542e76de98b09d50458d9fbe78bb9f56a91da 100644 (file)
@@ -27,7 +27,7 @@ bitcoinjs.bitcoin.networks.clam = {
     private: 0xa8c17826
   },
   pubKeyHash: 0x89,
-  scriptHash: 0x00, // TODO set this correctly
+  scriptHash: 0x0D,
   wif: 0x85
 };
 
@@ -93,7 +93,7 @@ bitcoinjs.bitcoin.networks.namecoin = {
     private: 0x0488ade4
   },
   pubKeyHash: 0x34,
-  scriptHash: 0x00, // TODO set this correctly
+  scriptHash: 0x0D,
   wif: 0x80
 };
 
@@ -236,7 +236,7 @@ bitcoinjs.bitcoin.networks.myriadcoin = {
     private: 0x0488ade4
   },
   pubKeyHash: 0x32,
-  scriptHash: 0x00, // TODO set this correctly
+  scriptHash: 0x09,
   wif: 0xb2
 };
 
@@ -914,6 +914,17 @@ bitcoinjs.bitcoin.networks.neoscoin = {
   wif: 0xb1,
 };
 
+bitcoinjs.bitcoin.networks.nix = {
+  messagePrefix: '\x18Nix Signed Message:\n',
+  bip32: {
+    public: 0x0488b21e,
+    private: 0x0488ade4,
+  },
+  pubKeyHash: 0x26,
+  scriptHash: 0x35,
+  wif: 0x80,
+};
+
 bitcoinjs.bitcoin.networks.neurocoin = {
   messagePrefix: '\x18PPCoin Signed Message:\n',
   bip32: {
@@ -1485,4 +1496,15 @@ bitcoinjs.bitcoin.networks.litecoinz = {
   pubKeyHash: 0x0AB3,
   scriptHash: 0x0AB8,
   wif:  0x80,
+};
+
+bitcoinjs.bitcoin.networks.blockstamp = {
+  messagePrefix: '\x18BlockStamp Signed Message:\n',
+  bip32: {
+    public: 0x0488B21E,
+    private: 0x0488ADE4,
+  },
+  pubKeyHash: 0x00,
+  scriptHash: 0x05,
+  wif:  0x80,
 };
\ No newline at end of file