]> git.immae.eu Git - perso/Immae/Projets/Cryptomonnaies/BIP39.git/commitdiff
Merge pull request #282 from Deimoscoin/patch-3
authoriancoleman <1281387+iancoleman@users.noreply.github.com>
Sun, 2 Dec 2018 22:02:13 +0000 (09:02 +1100)
committerGitHub <noreply@github.com>
Sun, 2 Dec 2018 22:02:13 +0000 (09:02 +1100)
Update segwit-parameters.js

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
 };
 })();