From c16661aeea6645ea662f6af75a8e6e8e06096bcf Mon Sep 17 00:00:00 2001 From: aitorp6 Date: Tue, 4 Feb 2020 10:47:11 +0100 Subject: Added DeepOnion Segwit parameters --- src/js/segwit-parameters.js | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'src/js') diff --git a/src/js/segwit-parameters.js b/src/js/segwit-parameters.js index c548215..801c3a6 100644 --- a/src/js/segwit-parameters.js +++ b/src/js/segwit-parameters.js @@ -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 +}; + })(); -- cgit v1.2.3