aboutsummaryrefslogtreecommitdiff
path: root/src/js
diff options
context:
space:
mode:
authorKarol Rychlicki <karol@dash.org>2017-06-16 19:30:15 +0200
committerKarol Rychlicki <karol@dash.org>2017-06-16 19:30:15 +0200
commitc0386f3b78c31bc23c935603abe9ed9fafe300d4 (patch)
treecc4ddcd57e4e4538e18db66ab42f270fa4b101e3 /src/js
parent56b1275f405f900872f95fc440c487fd478c3094 (diff)
downloadBIP39-c0386f3b78c31bc23c935603abe9ed9fafe300d4.tar.gz
BIP39-c0386f3b78c31bc23c935603abe9ed9fafe300d4.tar.zst
BIP39-c0386f3b78c31bc23c935603abe9ed9fafe300d4.zip
add dash testnet
Diffstat (limited to 'src/js')
-rw-r--r--src/js/bitcoinjs-extensions.js10
-rw-r--r--src/js/index.js7
2 files changed, 17 insertions, 0 deletions
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 = {
45 wif: 0xcc, 45 wif: 0xcc,
46}; 46};
47 47
48bitcoin.networks.dashtn = {
49 bip32: {
50 public: 0x043587cf,
51 private: 0x04358394
52 },
53 pubKeyHash: 0x8c,
54 scriptHash: 0x13,
55 wif: 0xef,
56};
57
48bitcoin.networks.game = { 58bitcoin.networks.game = {
49 bip32: { 59 bip32: {
50 public: 0x0488b21e, 60 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
@@ -1114,6 +1114,13 @@
1114 }, 1114 },
1115 }, 1115 },
1116 { 1116 {
1117 name: "DASH Testnet",
1118 onSelect: function() {
1119 network = bitcoin.networks.dashtn;
1120 DOM.bip44coin.val(1);
1121 },
1122 },
1123 {
1117 name: "Ethereum", 1124 name: "Ethereum",
1118 onSelect: function() { 1125 onSelect: function() {
1119 network = bitcoin.networks.bitcoin; 1126 network = bitcoin.networks.bitcoin;