Added DeepOnion Segwit parameters
authoraitorp6 <aitorp@gmail.com>
Tue, 4 Feb 2020 09:47:11 +0000 (10:47 +0100)
committeraitorp6 <aitorp@gmail.com>
Tue, 4 Feb 2020 09:47:11 +0000 (10:47 +0100)
src/js/segwit-parameters.js

index c5482155656d62414fd33ca250287684ec185068..801c3a6f92b04786cbc33d687ea9a5f0496450ba 100644 (file)
@@ -657,4 +657,30 @@ libs.bitcoin.networks.groestlcointestnet.p2wpkhInP2sh = {
     wif: 0xef
 };
 
+libs.bitcoin.networks.deeponion.p2wpkh = {
+    baseNetwork: "deeponion",
+       messagePrefix: '\x18DeepOnion Signed Message:\n',
+       bech32: 'dpn',
+       bip32: {
+               public: 0x0488b21e,
+               private: 0x0488ade4
+       },
+       pubKeyHash: 0x1f,
+       scriptHash: 0x4e,
+       wif: 0x9f
+};
+
+libs.bitcoin.networks.deeponion.p2wpkhInP2sh = {
+       baseNetwork: "deeponion",
+       messagePrefix: '\x18DeepOnion Signed Message:\n',
+       bech32: 'dpn',
+       bip32: {
+               public: 0x0488b21e,
+               private: 0x0488ade4
+       },
+       pubKeyHash: 0x1f,
+       scriptHash: 0x4e,
+       wif: 0x9f
+};
+
 })();