]> git.immae.eu Git - perso/Immae/Projets/Cryptomonnaies/BIP39.git/commitdiff
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 dbb7572f692bbf728ab237097d5e2e2f04311528..8a3557eb7f46cac3459097d2e93a0555b18e101b 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
 };
 })();