2017-06-28 11:25:58 -07:00
< ion-view id = "addresses" class = "addr" hide-tabs >
2016-11-14 09:52:10 -08:00
< ion-nav-bar class = "bar-royal" >
< ion-nav-title > {{'Wallet Addresses' | translate}}< / ion-nav-title >
< ion-nav-back-button >
< / ion-nav-back-button >
2017-02-10 07:18:35 -08:00
< ion-nav-buttons side = "secondary" >
< button class = "button back-button" ng-click = "init()" >
< i class = "icon ion-ios-refresh-empty" > < / i >
< / button >
< / ion-nav-buttons >
2016-11-14 09:52:10 -08:00
< / ion-nav-bar >
< ion-content >
2017-05-04 10:45:21 -07:00
< div ng-include = "'views/includes/walletItem.html'" > < / div >
2016-11-14 11:51:11 -08:00
2016-11-17 11:01:14 -08:00
< div class = "addr-list" >
2016-11-16 05:15:13 -08:00
< div class = "addr-explanation" >
2016-12-09 06:26:24 -08:00
< div class = "addr-description" >
2016-12-16 05:13:46 -08:00
< span translate > Each bitcoin wallet can generate billions of addresses from your 12-word backup. A new address is automatically generated and shown each time you receive a payment.< / span > & nbsp< a ng-click = "showInformation()" ng-if = "!showInfo" translate > Why?< / a >
2016-11-14 11:51:11 -08:00
< / div >
< / div >
2016-11-16 05:15:13 -08:00
< div class = "addr-explanation" ng-if = "showInfo" >
2016-12-09 06:26:24 -08:00
< div class = "addr-description" >
2016-12-22 10:13:53 -08:00
< span translate > It's a good idea to avoid reusing addresses - this both protects your privacy and keeps your bitcoins secure against hypothetical attacks by quantum computers.< / span > & nbsp< a ng-click = "showInformation()" translate > Hide< / a >
2016-11-16 05:15:13 -08:00
< / div >
2016-11-14 11:51:11 -08:00
< / div >
2016-11-16 05:15:13 -08:00
< div class = "list" >
2017-02-10 07:18:35 -08:00
< div class = "item view-all" ng-click = "scan()" >
< span translate > Scan addresses for funds< / span >
< / div >
< div class = "item item-icon-right view-all" ng-if = "viewAll.value" ng-click = "viewAllAddresses()" >
2016-12-22 10:13:53 -08:00
< span translate > View All Addresses< / span >
< i class = "icon ion-ios-arrow-thin-right" > < / i >
2017-06-28 11:25:58 -07:00
< / div >
2017-05-10 08:31:40 -07:00
2017-06-22 13:00:20 -07:00
< div class = "item item-divider item-icon-right" ng-click = "newAddress()" >
2017-05-10 08:31:40 -07:00
< span translate > Unused Addresses< / span >
< i class = "icon ion-ios-plus-empty" > < / i >
2016-12-22 10:13:53 -08:00
< / div >
2017-02-10 07:18:35 -08:00
< div ng-if = "loading" class = "updating" >
2017-05-15 06:07:03 -07:00
< ion-spinner class = "spinner-dark recent" icon = "crescent" > < / ion-spinner >
< span translate > Loading addresses...< / span >
2016-11-16 05:15:13 -08:00
< / div >
2016-11-16 11:11:36 -08:00
< div ng-if = "latestUnused[0]" >
2016-11-17 08:17:28 -08:00
< div class = "box-error" ng-if = "gapReached" >
< h5 translate > Unused Addresses Limit< / h5 >
2016-12-16 05:13:46 -08:00
< p > < span translate > The maximum number of consecutive unused addresses (20) has been reached. When one of your unused addresses receives a payment, a new address will be generated and shown in your Receive tab.< / span > & nbsp< a ng-click = "readMore()" ng-if = "!showMore" translate > Read more< / a > < / p >
< p ng-if = "showMore" > < span translate > The restore process will stop when 20 addresses are generated in a row which contain no funds. To safely generate more addresses, make a payment to one of the unused addresses which has already been generated.< / span > & nbsp< a ng-click = "readMore()" translate > Read less< / a > < / p >
2016-11-17 08:17:28 -08:00
< / div >
2016-11-17 08:30:52 -08:00
< div class = "item" ng-repeat = "u in latestUnused track by $index" copy-to-clipboard = "u.address" >
2016-11-16 10:23:26 -08:00
{{u.address}}
2016-11-16 05:15:13 -08:00
< div class = "addr-path" >
2016-11-16 10:23:26 -08:00
{{u.path}} {{u.createdOn * 1000 | amDateFormat:'MMMM Do YYYY, hh:mm a'}}
2016-11-16 05:15:13 -08:00
< / div >
< / div >
< / div >
2016-11-17 06:20:06 -08:00
< div ng-if = "latestWithBalance[0]" >
< div class = "item item-divider" translate >
Addresses With Balance
< / div >
2016-11-14 11:51:11 -08:00
2016-11-17 08:30:52 -08:00
< div class = "item" ng-repeat = "w in latestWithBalance track by $index" copy-to-clipboard = "w.address" >
2016-11-17 06:20:06 -08:00
{{w.address}}
< div class = "addr-balance" > {{w.balanceStr}}< / div >
< / div >
2016-11-16 10:23:26 -08:00
< / div >
2017-06-22 13:00:20 -07:00
< div ng-if = "allUtxosNb" >
< div class = "item item-divider" translate >
Wallet Inputs
< / div >
< div class = "item" >
< span translate > Total wallet inputs < / span >
< div class = "addr-path" >
{{allUtxosNb}} [{{allUtxosSum}}]
< / div >
< / div >
< div class = "item" >
< span translate > Low amount inputs < / span >
< div class = "addr-path" >
{{lowUtxosNb}} [{{ lowUtxosSum }}]
< / div >
< / div >
< div class = "item" >
2017-06-23 08:20:51 -07:00
< span translate > Approximate Bitcoin network fee to transfer wallet's balance (with normal priority) < / span >
2017-06-22 13:00:20 -07:00
< div class = "addr-path" >
{{minFeePer}} [{{minFee}}]
< / div >
< / div >
< / div >
2016-11-14 09:52:10 -08:00
< / div >
< / div >
< / ion-content >
< / ion-view >