From 3b6786bd51b2a339255689132af31691421e06c1 Mon Sep 17 00:00:00 2001 From: Deimos <36500188+Deimoscoin@users.noreply.github.com> Date: Fri, 30 Nov 2018 20:44:16 -0500 Subject: Update segwit-parameters.js Deimos Support --- src/js/segwit-parameters.js | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'src') diff --git a/src/js/segwit-parameters.js b/src/js/segwit-parameters.js index dbb7572..8a3557e 100644 --- a/src/js/segwit-parameters.js +++ b/src/js/segwit-parameters.js @@ -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 }; })(); -- cgit v1.2.3