From 33ddd9a139b191fc110bb916a48d4669b76a93c2 Mon Sep 17 00:00:00 2001 From: Dan Gershony Date: Tue, 23 Aug 2016 15:31:22 +0100 Subject: Add dash --- src/js/bitcoinjs-extensions.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/js/bitcoinjs-extensions.js b/src/js/bitcoinjs-extensions.js index a7ca2ec..63d64a7 100644 --- a/src/js/bitcoinjs-extensions.js +++ b/src/js/bitcoinjs-extensions.js @@ -34,3 +34,14 @@ bitcoin.networks.clam = { pubKeyHash: 0x89, wif: 0x85, }; + +bitcoin.networks.dash = { + bip32: { + public: 0x0488b21e, + private: 0x0488ade4 + }, + pubKeyHash: 0x4e, + scriptHash: 0x10, + wif: 0xcc, +}; + -- cgit v1.2.3 From 82f91834f640eb66f9f5ab01f9df37cf805bc13b Mon Sep 17 00:00:00 2001 From: Dan Gershony Date: Tue, 23 Aug 2016 15:33:48 +0100 Subject: Add dash --- src/js/index.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/js/index.js b/src/js/index.js index 8f7d658..0599321 100644 --- a/src/js/index.js +++ b/src/js/index.js @@ -580,6 +580,13 @@ DOM.bip44coin.val(23); }, }, + { + name: "DASH", + onSelect: function() { + network = bitcoin.networks.dash; + DOM.bip44coin.val(5); + }, + }, ] init(); -- cgit v1.2.3 From 5493efc33c58688f0afd12f351ba0e7c45e711d1 Mon Sep 17 00:00:00 2001 From: dangershony Date: Tue, 23 Aug 2016 15:59:17 +0100 Subject: compile --- bip39-standalone.html | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/bip39-standalone.html b/bip39-standalone.html index 5f9cf7c..30fbffe 100644 --- a/bip39-standalone.html +++ b/bip39-standalone.html @@ -13353,6 +13353,17 @@ bitcoin.networks.clam = { pubKeyHash: 0x89, wif: 0x85, }; + +bitcoin.networks.dash = { + bip32: { + public: 0x0488b21e, + private: 0x0488ade4 + }, + pubKeyHash: 0x4e, + scriptHash: 0x10, + wif: 0xcc, +}; +