Skip to content

Commit

Permalink
Added ETH wallet
Browse files Browse the repository at this point in the history
  • Loading branch information
xenohunter committed Jul 18, 2017
1 parent 91632e6 commit ac9b8fc
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 22 deletions.
18 changes: 18 additions & 0 deletions src/img/wB-bg-ETH.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 0 additions & 18 deletions src/img/wB-bg-RMB.svg

This file was deleted.

6 changes: 3 additions & 3 deletions src/js/wallet/box.component.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
image: 'wB-bg-EUR.svg',
displayName: Currency.EUR.displayName
};
mapping[Currency.CNY.displayName] = {
image: 'wB-bg-RMB.svg',
displayName: Currency.CNY.displayName
mapping[Currency.ETH.displayName] = {
image: 'wB-bg-ETH.svg',
displayName: Currency.ETH.displayName
};

ctrl.$onChanges = function (changesObject) {
Expand Down
6 changes: 5 additions & 1 deletion src/js/wallet/list.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@
{
balance: new Money(0, Currency.WAVES),
depositWith: Currency.BTC
},
{
balance: new Money(0, Currency.ETH),
depositWith: Currency.ETH
}
];

Expand Down Expand Up @@ -139,8 +143,8 @@
if ($scope.isTestnet()) {
Currency.EUR.id = '2xnE3EdpqXtFgCP156qt1AbyjpqdZ5jGjWo3CwTawcux';
Currency.USD.id = 'HyFJ3rrq5m7FxdkWtQXkZrDat1F7LjVVGfpSkUuEXQHj';
Currency.CNY.id = '6pmDivReTLikwYqQtJTv6dTcE59knriaodB3AK8T9cF8';
Currency.BTC.id = 'Fmg13HEHJHuZYbtJq8Da8wifJENq8uBxDuWoP9pVe2Qe';
Currency.ETH.id = 'NO_ID_YET'; // FIXME
Currency.invalidateCache();
}
}
Expand Down

0 comments on commit ac9b8fc

Please sign in to comment.