diff --git a/app/images/coins/atheios.svg b/app/images/coins/atheios.svg new file mode 100644 index 0000000000..46d2166c95 --- /dev/null +++ b/app/images/coins/atheios.svg @@ -0,0 +1,15 @@ + diff --git a/app/scripts/abiDefinitions/athAbi.json b/app/scripts/abiDefinitions/athAbi.json new file mode 100644 index 0000000000..fe51488c70 --- /dev/null +++ b/app/scripts/abiDefinitions/athAbi.json @@ -0,0 +1 @@ +[] diff --git a/app/scripts/controllers/decryptWalletCtrl.js b/app/scripts/controllers/decryptWalletCtrl.js index 54755cf852..8821029666 100644 --- a/app/scripts/controllers/decryptWalletCtrl.js +++ b/app/scripts/controllers/decryptWalletCtrl.js @@ -37,6 +37,7 @@ var decryptWalletCtrl = function($scope, $sce, walletService) { hwAkromaPath: "m/44'/200625'/0'/0", // first address: m/44'/200625'/0'/0/0 hwESNetworkPath: "m/44'/31102'/0'/0", // first address: m/44'/31102'/0'/0/0 hwEther1Path: "m/44'/1313114'/0'/0", // first address: m/44'/1313114'/0'/0/0 + hwAtheiosPath: "m/44'/1620'/0'/0", // first address: m/44'/1620'/0'/0/0 }; $scope.HDWallet.dPath = $scope.HDWallet.defaultDPath; $scope.mnemonicModel = new Modal(document.getElementById('mnemonicModel')); @@ -77,6 +78,8 @@ var decryptWalletCtrl = function($scope, $sce, walletService) { case nodes.nodeTypes.ETHO: $scope.HDWallet.dPath = $scope.HDWallet.hwEther1Path; break; + case nodes.nodeTypes.ATH: + $scope.HDWallet.dPath = $scope.HDWallet.hwAtheiosPath; case nodes.nodeTypes.EGEM: $scope.HDWallet.dPath = $scope.HDWallet.hwEtherGemPath; break; @@ -133,6 +136,9 @@ var decryptWalletCtrl = function($scope, $sce, walletService) { case nodes.nodeTypes.ESN: $scope.HDWallet.dPath = $scope.HDWallet.hwESNetworkPath; break; + case nodes.nodeTypes.ATH: + $scope.HDWallet.dPath = $scope.HDWallet.hwAtheiosPath; + break; default: $scope.HDWallet.dPath = $scope.HDWallet.trezorPath; } @@ -186,6 +192,9 @@ var decryptWalletCtrl = function($scope, $sce, walletService) { case nodes.nodeTypes.ETHO: $scope.HDWallet.dPath = $scope.HDWallet.hwEther1Path; break; + case nodes.nodeTypes.ATH: + $scope.HDWallet.dPath = $scope.HDWallet.hwAtheiosPath; + break; default: $scope.HDWallet.dPath = $scope.HDWallet.defaultDPath; } diff --git a/app/scripts/directives/walletDecryptDrtv.html b/app/scripts/directives/walletDecryptDrtv.html index 8988eafe84..f4da6ea2e6 100644 --- a/app/scripts/directives/walletDecryptDrtv.html +++ b/app/scripts/directives/walletDecryptDrtv.html @@ -35,7 +35,7 @@