From 6cbd3bc8c22256bf35df5d69d8ef6685590b66e4 Mon Sep 17 00:00:00 2001 From: Hsuan Lee Date: Thu, 14 Mar 2019 11:13:41 +0800 Subject: Add definitions for DEXON (DXN) --- src/js/index.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/js') diff --git a/src/js/index.js b/src/js/index.js index 9e955ae..bc15559 100644 --- a/src/js/index.js +++ b/src/js/index.js @@ -917,7 +917,8 @@ || (networks[DOM.network.val()].name == "MUSIC - Musicoin") || (networks[DOM.network.val()].name == "POA - Poa") || (networks[DOM.network.val()].name == "EXP - Expanse") - || (networks[DOM.network.val()].name == "CLO - Callisto")) { + || (networks[DOM.network.val()].name == "CLO - Callisto") + || (networks[DOM.network.val()].name == "DXN - DEXON")) { var privKeyBuffer = keyPair.d.toBuffer(32); privkey = privKeyBuffer.toString('hex'); var addressBuffer = ethUtil.privateToAddress(privKeyBuffer); @@ -1920,6 +1921,13 @@ setHdCoin(3); }, }, + { + name: "DXN - DEXON", + onSelect: function() { + network = bitcoinjs.bitcoin.networks.bitcoin; + setHdCoin(237); + }, + }, { name: "ECN - Ecoin", onSelect: function() { -- cgit v1.2.3