50 lines
1.8 KiB
HTML
50 lines
1.8 KiB
HTML
<ion-view hide-tabs>
|
|
<ion-nav-bar class="bar-royal">
|
|
<ion-nav-title>{{'Wallet Addresses' | translate}}</ion-nav-title>
|
|
<ion-nav-back-button>
|
|
</ion-nav-back-button>
|
|
</ion-nav-bar>
|
|
|
|
<ion-content>
|
|
<div class="text-center padding">
|
|
<i class="icon ion-ios-ionic-outline"></i>
|
|
</div>
|
|
|
|
<div class="text-center">
|
|
<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 your recive a payment.</span><a ng-click="showInformation()" ng-if="!showInfo" translate> Why?</a>
|
|
</div>
|
|
|
|
<div class="text-center" ng-if="showInfo">
|
|
<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><a ng-click="showInformation()" translate> Hide</a>
|
|
</div>
|
|
|
|
<div class="list">
|
|
<div class="item item-divider item-icon-right" ng-click="addNewAddress()" translate>
|
|
Unused Addresses
|
|
<i class="icon ion-ios-plus-empty"></i>
|
|
</div>
|
|
|
|
<div ng-if="unusedAddresses[0]">
|
|
<div class="item" ng-repeat="uAddr in unusedAddresses track by $index">
|
|
{{uAddr.address}}
|
|
<span class="item-note">
|
|
{{uAddr.path}} {{uAddr.createdOn * 1000 | amDateFormat:'MMMM Do YYYY, hh:mm a'}}
|
|
</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div ng-if="!unusedAddresses[0]">
|
|
<span class="item" translate>Not unused addresses available</span>
|
|
</div>
|
|
|
|
<div class="item item-divider" translate>
|
|
Addresses With Balance
|
|
</div>
|
|
|
|
<div class="item" ng-repeat="addr in addresses track by $index">
|
|
{{addr.address}}
|
|
<div>{{addr.balanceStr}}</div>
|
|
</div>
|
|
</div>
|
|
</ion-content>
|
|
</ion-view>
|