From 84f3443d2cc919981ee2021934e30fee156570bc Mon Sep 17 00:00:00 2001 From: Ashwin Ramachandran Date: Tue, 5 Mar 2019 13:53:48 -0800 Subject: [PATCH 1/5] Fix improperly named icon file. Urgent fix to ensure that the thundercore logo is properly displayed as defined in the etherwallet-custom.less file. --- app/images/coins/{thunder.svg => thundercore.svg} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename app/images/coins/{thunder.svg => thundercore.svg} (100%) diff --git a/app/images/coins/thunder.svg b/app/images/coins/thundercore.svg similarity index 100% rename from app/images/coins/thunder.svg rename to app/images/coins/thundercore.svg From 72daea815a78df01dd14c7e896606c434807382a Mon Sep 17 00:00:00 2001 From: Ashwin Ramachandran Date: Tue, 5 Mar 2019 14:14:13 -0800 Subject: [PATCH 2/5] Change token abbr. to TT from THUNDERCORE. --- app/scripts/nodes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scripts/nodes.js b/app/scripts/nodes.js index 16e467b7c2..c2a1e5804d 100644 --- a/app/scripts/nodes.js +++ b/app/scripts/nodes.js @@ -29,7 +29,7 @@ nodes.nodeTypes = { WEB: "WEB", MIX: "MIX", REOSC: "REOSC", - THUNDERCORE: "THUNDERCORE", + THUNDERCORE: "TT", Custom: "CUSTOM ETH" }; nodes.ensNodeTypes = [nodes.nodeTypes.ETH, nodes.nodeTypes.Ropsten]; From 639f84ca6c27aed50371265ffcfb7d19ea0c366c Mon Sep 17 00:00:00 2001 From: Ashwin Ramachandran Date: Tue, 5 Mar 2019 15:53:04 -0800 Subject: [PATCH 3/5] Add ledger and trezor support for thundercore. --- app/scripts/controllers/decryptWalletCtrl.js | 10 ++++++++++ app/scripts/directives/walletDecryptDrtv.html | 18 ++++++++++++++++-- 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/app/scripts/controllers/decryptWalletCtrl.js b/app/scripts/controllers/decryptWalletCtrl.js index b6b012a075..294564a2f2 100644 --- a/app/scripts/controllers/decryptWalletCtrl.js +++ b/app/scripts/controllers/decryptWalletCtrl.js @@ -49,6 +49,7 @@ var decryptWalletCtrl = function($scope, $sce, walletService) { tomoPath: 'm/44\'/889\'/0\'/0', // first address: m/44'/889'/0'/0/0 hwMixPath: 'm/44\'/76\'/0\'/0', // first address: m/44'/76'/0'/0/0 hwReoscPath: 'm/44\'/2894\'/0\'/0', // first address: m/44'/2894'/0'/0/0 + thundercorePath: 'm/44\'/1001\'/0\'/0', // first address: m/44'/1001'/0'/0/0 }; $scope.canUseMewConnect = MewConnectEth.checkWebRTCAvailable(); $scope.mewConnectMayFail = MewConnectEth.checkBrowser(); @@ -121,6 +122,9 @@ var decryptWalletCtrl = function($scope, $sce, walletService) { case nodes.nodeTypes.REOSC: $scope.HDWallet.dPath = $scope.HDWallet.hwReoscPath; break; + case nodes.nodeTypes.THUNDERCORE: + $scope.HDWallet.dPath = $scope.HDWallet.thundercorePath; + break; default: $scope.HDWallet.dPath = $scope.HDWallet.ledgerPath; } @@ -195,6 +199,9 @@ var decryptWalletCtrl = function($scope, $sce, walletService) { case nodes.nodeTypes.REOSC: $scope.HDWallet.dPath = $scope.HDWallet.hwReoscPath; break; + case nodes.nodeTypes.THUNDERCORE: + $scope.HDWallet.dPath = $scope.HDWallet.thundercorePath; + break; default: $scope.HDWallet.dPath = $scope.HDWallet.trezorPath; } @@ -269,6 +276,9 @@ var decryptWalletCtrl = function($scope, $sce, walletService) { case nodes.nodeTypes.REOSC: $scope.HDWallet.dPath = $scope.HDWallet.hwReoscPath; break; + case nodes.nodeTypes.THUNDERCORE: + $scope.HDWallet.dPath = $scope.HDWallet.thundercorePath; + break; default: $scope.HDWallet.dPath = $scope.HDWallet.defaultDPath; } diff --git a/app/scripts/directives/walletDecryptDrtv.html b/app/scripts/directives/walletDecryptDrtv.html index 45ddb8216a..a4ececeef4 100644 --- a/app/scripts/directives/walletDecryptDrtv.html +++ b/app/scripts/directives/walletDecryptDrtv.html @@ -59,7 +59,7 @@