From c7a1a000401bc619c4b128d6d134d185fbb0b6d3 Mon Sep 17 00:00:00 2001 From: Matt Robertson Date: Thu, 4 Jul 2019 13:20:14 -0500 Subject: [PATCH] Added support for VeChain, hdcoin 818, same address formats as ETH --- src/js/index.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/js/index.js b/src/js/index.js index 9578146..52b0db5 100644 --- a/src/js/index.js +++ b/src/js/index.js @@ -921,6 +921,7 @@ || (networks[DOM.network.val()].name == "DXN - DEXON") || (networks[DOM.network.val()].name == "ELLA - Ellaism") || (networks[DOM.network.val()].name == "ESN - Ethersocial Network") + || (networks[DOM.network.val()].name == "VET - VeChain") ) { var privKeyBuffer = keyPair.d.toBuffer(32); privkey = privKeyBuffer.toString('hex'); @@ -2705,6 +2706,13 @@ setHdCoin(33); }, }, + { + name: "VET - VeChain", + onSelect: function() { + network = bitcoinjs.bitcoin.networks.bitcoin; + setHdCoin(818); + }, + }, { name: "VIA - Viacoin", onSelect: function() { -- 2.41.0