From c0386f3b78c31bc23c935603abe9ed9fafe300d4 Mon Sep 17 00:00:00 2001 From: Karol Rychlicki Date: Fri, 16 Jun 2017 19:30:15 +0200 Subject: add dash testnet --- src/js/bitcoinjs-extensions.js | 10 ++++++++++ src/js/index.js | 7 +++++++ 2 files changed, 17 insertions(+) (limited to 'src') diff --git a/src/js/bitcoinjs-extensions.js b/src/js/bitcoinjs-extensions.js index dd5069c..7747d25 100644 --- a/src/js/bitcoinjs-extensions.js +++ b/src/js/bitcoinjs-extensions.js @@ -45,6 +45,16 @@ bitcoin.networks.dash = { wif: 0xcc, }; +bitcoin.networks.dashtn = { + bip32: { + public: 0x043587cf, + private: 0x04358394 + }, + pubKeyHash: 0x8c, + scriptHash: 0x13, + wif: 0xef, +}; + bitcoin.networks.game = { bip32: { public: 0x0488b21e, diff --git a/src/js/index.js b/src/js/index.js index bb20938..3b86e42 100644 --- a/src/js/index.js +++ b/src/js/index.js @@ -1113,6 +1113,13 @@ DOM.bip44coin.val(5); }, }, + { + name: "DASH Testnet", + onSelect: function() { + network = bitcoin.networks.dashtn; + DOM.bip44coin.val(1); + }, + }, { name: "Ethereum", onSelect: function() { -- cgit v1.2.3