]> git.immae.eu Git - perso/Immae/Projets/Cryptomonnaies/BIP39.git/commitdiff
Add ZooBC coin support
authorjhonkus <putukn@gmail.com>
Thu, 26 Nov 2020 22:27:21 +0000 (06:27 +0800)
committerjhonkus <putukn@gmail.com>
Mon, 7 Dec 2020 11:43:20 +0000 (19:43 +0800)
src/js/bitcoinjs-extensions.js
src/js/index.js

index 08a6be8c72c2ee6a4ec7a6c08f0a7f5bfbffc64a..7e637e345c666dff6e263f44caf5b682d7a7c87e 100644 (file)
@@ -1553,6 +1553,18 @@ libs.bitcoin.networks.hush3 = {
   wif: 0xBC,
 };
 
+libs.bitcoin.networks.zoobc = {
+  messagePrefix: '\x18ZooBC Signed Message:\n',
+  bech32: 'bc',
+  bip32: {
+    public: 0x0488b21e,
+    private: 0x0488ade4,
+  },
+  pubKeyHash: 0x00,
+  scriptHash: 0x05,
+  wif: 0x80,
+};
+
 libs.bitcoin.networks.zclassic = {
   messagePrefix: '\x18Zcash Signed Message:\n',
   bip32: {
index fd8c16b99173bcb4a8a6a3c49793bf062dd63d4e..61a2dd551ee4937372ca2806b12d3b34bf86cdaa 100644 (file)
                 setHdCoin(136);
             },
         },
+        {
+            name: "ZBC - ZooBlockchain",
+            onSelect: function () {
+            network = libs.bitcoin.networks.zoobc;
+            setHdCoin(883);
+            },
+        },
         {
             name: "ZCL - Zclassic",
             onSelect: function() {