Update segwit-parameters.js
authorDeimos <36500188+Deimoscoin@users.noreply.github.com>
Sat, 1 Dec 2018 01:44:16 +0000 (20:44 -0500)
committerGitHub <noreply@github.com>
Sat, 1 Dec 2018 01:44:16 +0000 (20:44 -0500)
Deimos Support

src/js/segwit-parameters.js

index dbb7572..8a3557e 100644 (file)
@@ -183,5 +183,30 @@ bitcoinjs.bitcoin.networks.digibyte.p2wpkhInP2sh = {
     pubKeyHash: 0x1e,
     scriptHash: 0x3f,
     wif: 0x80
+};
+    bitcoinjs.bitcoin.networks.deimos.p2wpkh = {
+    baseNetwork: "deimos",
+    messagePrefix: '\x18Deimos Signed Message:\n',
+    bech32: 'dei',
+    bip32: {
+        public: 0x0488B21E,
+        private: 0x0488ADE4
+    },
+    pubKeyHash: 0x1f,
+    scriptHash: 0x21,
+    wif: 0x8a
+};
+
+bitcoinjs.bitcoin.networks.deimos.p2wpkhInP2sh = {
+    baseNetwork: "deimos",     
+    messagePrefix: '\x18Deimos Signed Message:\n',
+    bech32: 'dei',
+    bip32: {
+        public: 0x0488B21E,
+        private: 0x0488ADE4
+    },
+    pubKeyHash: 0x1f,
+    scriptHash: 0x21,
+    wif: 0x8a
 };
 })();