Eric Foster hace 6 años
padre
commit
7730d48da0

+ 8
- 8
ZipCoinRedIonicClient/www/build/.ion-diagnostic-typescript.html Ver fichero

1
 <div class="ion-diagnostic">
1
 <div class="ion-diagnostic">
2
 <div class="ion-diagnostic-masthead" title="typescript error: 2307">
2
 <div class="ion-diagnostic-masthead" title="typescript error: 2307">
3
 <div class="ion-diagnostic-title">Typescript Error</div>
3
 <div class="ion-diagnostic-title">Typescript Error</div>
4
-<div class="ion-diagnostic-message" data-error-code="typescript-2307">Cannot find module &#039;../block/home&#039;.</div>
4
+<div class="ion-diagnostic-message" data-error-code="typescript-2307">Cannot find module &#039;../../model/transaction&#039;.</div>
5
 </div>
5
 </div>
6
 <div class="ion-diagnostic-file">
6
 <div class="ion-diagnostic-file">
7
-<div class="ion-diagnostic-file-header" title="/Users/navyas/Labs6/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/tabs/tabs.ts">src/pages/tabs/tabs.ts</div>
7
+<div class="ion-diagnostic-file-header" title="/Users/ericf/ZCWProjects/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/wallet/wallet.ts">src/pages/wallet/wallet.ts</div>
8
 <div class="ion-diagnostic-blob">
8
 <div class="ion-diagnostic-blob">
9
 <table class="ion-diagnostic-table">
9
 <table class="ion-diagnostic-table">
10
 <tr>
10
 <tr>
11
-<td class="ion-diagnostic-blob-num" data-line-number="2"></td>
12
-<td class="ion-diagnostic-blob-code"><span class="hljs-keyword">import</span> { NavController, NavParams } from <span class="hljs-string">'ionic-angular'</span>;</td>
11
+<td class="ion-diagnostic-blob-num" data-line-number="3"></td>
12
+<td class="ion-diagnostic-blob-code"><span class="hljs-keyword">import</span> { TransactionService } from <span class="hljs-string">'../../providers/transaction-service'</span>;</td>
13
 </tr>
13
 </tr>
14
 <tr class="ion-diagnostic-error-line">
14
 <tr class="ion-diagnostic-error-line">
15
-<td class="ion-diagnostic-blob-num" data-line-number="3"></td>
16
-<td class="ion-diagnostic-blob-code"><span class="hljs-keyword">import</span> { HomePage } from <span class="hljs-string"><span class="ion-diagnostics-error-chr">'</span><span class="ion-diagnostics-error-chr">.</span><span class="ion-diagnostics-error-chr">.</span><span class="ion-diagnostics-error-chr">/</span><span class="ion-diagnostics-error-chr">b</span><span class="ion-diagnostics-error-chr">l</span><span class="ion-diagnostics-error-chr">o</span><span class="ion-diagnostics-error-chr">c</span><span class="ion-diagnostics-error-chr">k</span><span class="ion-diagnostics-error-chr">/</span><span class="ion-diagnostics-error-chr">h</span><span class="ion-diagnostics-error-chr">o</span><span class="ion-diagnostics-error-chr">m</span><span class="ion-diagnostics-error-chr">e</span><span class="ion-diagnostics-error-chr">'</span></span>;</td>
15
+<td class="ion-diagnostic-blob-num" data-line-number="4"></td>
16
+<td class="ion-diagnostic-blob-code"><span class="hljs-keyword">import</span> { Transaction } from <span class="hljs-string"><span class="ion-diagnostics-error-chr">'</span><span class="ion-diagnostics-error-chr">.</span><span class="ion-diagnostics-error-chr">.</span><span class="ion-diagnostics-error-chr">/</span><span class="ion-diagnostics-error-chr">.</span><span class="ion-diagnostics-error-chr">.</span><span class="ion-diagnostics-error-chr">/</span><span class="ion-diagnostics-error-chr">m</span><span class="ion-diagnostics-error-chr">o</span><span class="ion-diagnostics-error-chr">d</span><span class="ion-diagnostics-error-chr">e</span><span class="ion-diagnostics-error-chr">l</span><span class="ion-diagnostics-error-chr">/</span><span class="ion-diagnostics-error-chr">t</span><span class="ion-diagnostics-error-chr">r</span><span class="ion-diagnostics-error-chr">a</span><span class="ion-diagnostics-error-chr">n</span><span class="ion-diagnostics-error-chr">s</span><span class="ion-diagnostics-error-chr">a</span><span class="ion-diagnostics-error-chr">c</span><span class="ion-diagnostics-error-chr">t</span><span class="ion-diagnostics-error-chr">i</span><span class="ion-diagnostics-error-chr">o</span><span class="ion-diagnostics-error-chr">n</span><span class="ion-diagnostics-error-chr">'</span></span>;</td>
17
 </tr>
17
 </tr>
18
 <tr>
18
 <tr>
19
-<td class="ion-diagnostic-blob-num" data-line-number="4"></td>
20
-<td class="ion-diagnostic-blob-code"><span class="hljs-keyword">import</span> { WalletPage } from <span class="hljs-string">'../wallet/wallet'</span>;</td>
19
+<td class="ion-diagnostic-blob-num" data-line-number="5"></td>
20
+<td class="ion-diagnostic-blob-code"><span class="hljs-keyword">import</span> { FormGroup } from <span class="hljs-string">'@angular/forms'</span>;</td>
21
 </tr>
21
 </tr>
22
 </table>
22
 </table>
23
 </div>
23
 </div>

+ 130
- 70
ZipCoinRedIonicClient/www/build/main.js Ver fichero

1
 webpackJsonp([4],{
1
 webpackJsonp([4],{
2
 
2
 
3
-/***/ 100:
3
+/***/ 101:
4
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
5
+
6
+"use strict";
7
+/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Tab4Page; });
8
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
9
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(28);
10
+var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
11
+    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
12
+    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
13
+    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
14
+    return c > 3 && r && Object.defineProperty(target, key, r), r;
15
+};
16
+var __metadata = (this && this.__metadata) || function (k, v) {
17
+    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
18
+};
19
+
20
+
21
+/**
22
+ * Generated class for the Tab4Page page.
23
+ *
24
+ * See https://ionicframework.com/docs/components/#navigation for more info on
25
+ * Ionic pages and navigation.
26
+ */
27
+var Tab4Page = /** @class */ (function () {
28
+    function Tab4Page(navCtrl, navParams) {
29
+        this.navCtrl = navCtrl;
30
+        this.navParams = navParams;
31
+    }
32
+    Tab4Page.prototype.ionViewDidLoad = function () {
33
+        console.log('ionViewDidLoad Tab4Page');
34
+    };
35
+    Tab4Page = __decorate([
36
+        Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
37
+            selector: 'page-tab4',template:/*ion-inline-start:"/Users/ericf/ZCWProjects/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/tab4/tab4.html"*/'<!--\n  Generated template for the Tab4Page page.\n\n  See http://ionicframework.com/docs/components/#navigation for more info on\n  Ionic pages and navigation.\n-->\n<ion-header>\n\n  <ion-navbar>\n    <ion-title>tab4</ion-title>\n  </ion-navbar>\n\n</ion-header>\n\n\n<ion-content padding>\n\n</ion-content>\n'/*ion-inline-end:"/Users/ericf/ZCWProjects/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/tab4/tab4.html"*/,
38
+        }),
39
+        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavParams */]])
40
+    ], Tab4Page);
41
+    return Tab4Page;
42
+}());
43
+
44
+//# sourceMappingURL=tab4.js.map
45
+
46
+/***/ }),
47
+
48
+/***/ 102:
4
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
49
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
 
50
 
6
 "use strict";
51
 "use strict";
7
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TabsPage; });
52
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TabsPage; });
8
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
53
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
9
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__home_home__ = __webpack_require__(157);
10
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__wallet_wallet__ = __webpack_require__(101);
11
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__transaction_transaction__ = __webpack_require__(102);
12
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__tab4_tab4__ = __webpack_require__(99);
54
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__home_home__ = __webpack_require__(159);
55
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__wallet_wallet__ = __webpack_require__(103);
56
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__transaction_transaction__ = __webpack_require__(104);
57
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__tab4_tab4__ = __webpack_require__(101);
13
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
58
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
14
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
59
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
15
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
60
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
33
     }
78
     }
34
     TabsPage = __decorate([
79
     TabsPage = __decorate([
35
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
80
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
36
-            selector: 'page-tabs',template:/*ion-inline-start:"/Users/navyas/Labs6/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/tabs/tabs.html"*/'<ion-tabs>\n  <ion-tab [root]="homePage" tabTitle="ZipCoin-BlockChain" tabIcon="link"></ion-tab>\n  <ion-tab [root]="walletPage" tabTitle="ZipCoin Wallet" tabIcon="cash"></ion-tab>\n  <ion-tab [root]="transactionPage" tabTitle="ZipCoin Transactions" tabIcon="contacts"></ion-tab>\n  <ion-tab [root]="tab4" tabTitle="Ziptab" tabIcon="star"></ion-tab>\n\n</ion-tabs>'/*ion-inline-end:"/Users/navyas/Labs6/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/tabs/tabs.html"*/,
81
+            selector: 'page-tabs',template:/*ion-inline-start:"/Users/ericf/ZCWProjects/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/tabs/tabs.html"*/'<ion-tabs>\n  <ion-tab [root]="homePage" tabTitle="ZipCoin-BlockChain" tabIcon="link"></ion-tab>\n  <ion-tab [root]="walletPage" tabTitle="ZipCoin Wallet" tabIcon="cash"></ion-tab>\n  <ion-tab [root]="transactionPage" tabTitle="ZipCoin Transactions" tabIcon="contacts"></ion-tab>\n  <ion-tab [root]="tab4" tabTitle="Ziptab" tabIcon="star"></ion-tab>\n\n</ion-tabs>'/*ion-inline-end:"/Users/ericf/ZCWProjects/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/tabs/tabs.html"*/,
37
         }),
82
         }),
38
         __metadata("design:paramtypes", [])
83
         __metadata("design:paramtypes", [])
39
     ], TabsPage);
84
     ], TabsPage);
44
 
89
 
45
 /***/ }),
90
 /***/ }),
46
 
91
 
47
-/***/ 101:
92
+/***/ 103:
48
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
93
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
49
 
94
 
50
 "use strict";
95
 "use strict";
51
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return WalletPage; });
96
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return WalletPage; });
52
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
97
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
53
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(28);
98
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(28);
99
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_transaction_service__ = __webpack_require__(50);
54
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
100
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
55
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
101
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
56
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
102
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
62
 };
108
 };
63
 
109
 
64
 
110
 
111
+
65
 /**
112
 /**
66
  * Generated class for the WalletPage page.
113
  * Generated class for the WalletPage page.
67
  *
114
  *
69
  * Ionic pages and navigation.
116
  * Ionic pages and navigation.
70
  */
117
  */
71
 var WalletPage = /** @class */ (function () {
118
 var WalletPage = /** @class */ (function () {
72
-    function WalletPage(navCtrl, navParams) {
119
+    function WalletPage(navCtrl, navParams, transactionService) {
73
         this.navCtrl = navCtrl;
120
         this.navCtrl = navCtrl;
74
         this.navParams = navParams;
121
         this.navParams = navParams;
122
+        this.transactionService = transactionService;
75
     }
123
     }
76
     WalletPage.prototype.ionViewDidLoad = function () {
124
     WalletPage.prototype.ionViewDidLoad = function () {
77
         console.log('ionViewDidLoad WalletPage');
125
         console.log('ionViewDidLoad WalletPage');
78
     };
126
     };
127
+    WalletPage.prototype.createTransaction = function () {
128
+        this.transactionService.createTransaction(this.transaction);
129
+    };
79
     WalletPage = __decorate([
130
     WalletPage = __decorate([
80
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
131
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
81
-            selector: 'page-wallet',template:/*ion-inline-start:"/Users/navyas/Labs6/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/wallet/wallet.html"*/'<!--\n  Generated template for the WalletPage page.\n\n  See http://ionicframework.com/docs/components/#navigation for more info on\n  Ionic pages and navigation.\n-->\n<ion-header>\n\n  <ion-navbar>\n    <ion-title>Wallet</ion-title>\n  </ion-navbar>\n\n</ion-header>\n\n\n<ion-content padding>\n\n\n  \n  <ion-item>\n      <ion-label>Name</ion-label>\n      <ion-select [(ngModel)]="name">\n        <ion-option value="navya">navya</ion-option>\n        <ion-option value="aleena">aleena</ion-option>\n      </ion-select>\n     </ion-item>\n     <ion-item>\n        <ion-label>current balance</ion-label>\n        <ion-input></ion-input>\n      </ion-item>\n      <ion-item>\n          <ion-label>Public Key</ion-label>\n          <ion-input></ion-input>\n        </ion-item>\n      <br>\n      <br>\n      <div class = "bar bar-subheader bar-assertive">\n          <h2 class = "title">Payment</h2>\n       </div>\n       <ion-item>\n          <ion-label>From</ion-label>\n          <ion-select [(ngModel)]="name">\n            <ion-option value="navya">navya</ion-option>\n            <ion-option value="aleena">aleena</ion-option>\n          </ion-select>\n         </ion-item>\n         <ion-item>\n            <ion-label>To</ion-label>\n            <ion-select [(ngModel)]="to">\n              <ion-option value="navya">navya</ion-option>\n              <ion-option value="aleena">aleena</ion-option>\n            </ion-select>\n           </ion-item>\n      \n          <ion-item>\n              <ion-label>Amount</ion-label>\n              <ion-input></ion-input>\n            </ion-item>\n            <br>\n            <button ion-button>Pay</button>\n</ion-content>\n'/*ion-inline-end:"/Users/navyas/Labs6/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/wallet/wallet.html"*/,
132
+            selector: 'page-wallet',template:/*ion-inline-start:"/Users/ericf/ZCWProjects/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/wallet/wallet.html"*/'<!--\n  Generated template for the WalletPage page.\n\n  See http://ionicframework.com/docs/components/#navigation for more info on\n  Ionic pages and navigation.\n-->\n<ion-header>\n\n  <ion-navbar>\n    <ion-title>Wallet</ion-title>\n  </ion-navbar>\n\n</ion-header>\n\n\n<ion-content padding>\n\n\n  \n  <ion-item>\n      <ion-label>Name</ion-label>\n      <ion-select [(ngModel)]="name">\n        <ion-option value="navya">navya</ion-option>\n        <ion-option value="aleena">aleena</ion-option>\n      </ion-select>\n     </ion-item>\n     <ion-item>\n        <ion-label>current balance</ion-label>\n        <ion-input></ion-input>\n      </ion-item>\n      <ion-item>\n          <ion-label>Public Key</ion-label>\n          <ion-input></ion-input>\n        </ion-item>\n      <br>\n      <br>\n      <div class = "bar bar-subheader bar-assertive">\n          <h2 class = "title">Payment</h2>\n       </div>\n       <ion-item>\n          <ion-label>From</ion-label>\n          <ion-select [(ngModel)]="name">\n            <ion-option value="navya">navya</ion-option>\n            <ion-option value="aleena">aleena</ion-option>\n          </ion-select>\n         </ion-item>\n         <ion-item>\n            <ion-label>To</ion-label>\n            <ion-select [(ngModel)]="to">\n              <ion-option value="navya">navya</ion-option>\n              <ion-option value="aleena">aleena</ion-option>\n            </ion-select>\n           </ion-item>\n      \n          <ion-item>\n              <ion-label>Amount</ion-label>\n              <ion-input></ion-input>\n            </ion-item>\n            <br>\n            <button ion-button>Pay</button>\n</ion-content>\n'/*ion-inline-end:"/Users/ericf/ZCWProjects/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/wallet/wallet.html"*/,
82
         }),
133
         }),
83
-        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavParams */]])
134
+        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_transaction_service__["a" /* TransactionService */]])
84
     ], WalletPage);
135
     ], WalletPage);
85
     return WalletPage;
136
     return WalletPage;
86
 }());
137
 }());
89
 
140
 
90
 /***/ }),
141
 /***/ }),
91
 
142
 
92
-/***/ 102:
143
+/***/ 104:
93
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
144
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
94
 
145
 
95
 "use strict";
146
 "use strict";
96
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TransactionPage; });
147
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TransactionPage; });
97
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
148
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
98
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(28);
149
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(28);
150
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_transaction_service__ = __webpack_require__(50);
99
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
151
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
100
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
152
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
101
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
153
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
107
 };
159
 };
108
 
160
 
109
 
161
 
162
+
110
 /**
163
 /**
111
  * Generated class for the TransactionPage page.
164
  * Generated class for the TransactionPage page.
112
  *
165
  *
114
  * Ionic pages and navigation.
167
  * Ionic pages and navigation.
115
  */
168
  */
116
 var TransactionPage = /** @class */ (function () {
169
 var TransactionPage = /** @class */ (function () {
117
-    function TransactionPage(navCtrl, navParams) {
170
+    function TransactionPage(navCtrl, navParams, transactionService) {
118
         this.navCtrl = navCtrl;
171
         this.navCtrl = navCtrl;
119
         this.navParams = navParams;
172
         this.navParams = navParams;
173
+        this.transactionService = transactionService;
120
     }
174
     }
121
     TransactionPage.prototype.ionViewDidLoad = function () {
175
     TransactionPage.prototype.ionViewDidLoad = function () {
122
         console.log('ionViewDidLoad TransactionPage');
176
         console.log('ionViewDidLoad TransactionPage');
123
     };
177
     };
178
+    TransactionPage.prototype.getAllTransactions = function () {
179
+        var _this = this;
180
+        this.transactionService.getAllTransactions().subscribe(function (transactions) {
181
+            _this.transactions = transactions;
182
+        });
183
+    };
124
     TransactionPage = __decorate([
184
     TransactionPage = __decorate([
125
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
185
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
126
-            selector: 'page-transaction',template:/*ion-inline-start:"/Users/navyas/Labs6/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/transaction/transaction.html"*/'<!--\n  Generated template for the TransactionPage page.\n\n  See http://ionicframework.com/docs/components/#navigation for more info on\n  Ionic pages and navigation.\n-->\n<ion-header>\n\n  <ion-navbar>\n    <ion-title>Transaction</ion-title>\n  </ion-navbar>\n\n</ion-header>\n\n\n<ion-content padding>\n\n</ion-content>\n'/*ion-inline-end:"/Users/navyas/Labs6/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/transaction/transaction.html"*/,
186
+            selector: 'page-transaction',template:/*ion-inline-start:"/Users/ericf/ZCWProjects/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/transaction/transaction.html"*/'<!--\n  Generated template for the TransactionPage page.\n\n  See http://ionicframework.com/docs/components/#navigation for more info on\n  Ionic pages and navigation.\n-->\n<ion-header>\n\n  <ion-navbar>\n    <ion-title>Transaction</ion-title>\n  </ion-navbar>\n\n</ion-header>\n\n\n<ion-content padding>\n\n</ion-content>\n'/*ion-inline-end:"/Users/ericf/ZCWProjects/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/transaction/transaction.html"*/,
127
         }),
187
         }),
128
-        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavParams */]])
188
+        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavParams */],
189
+            __WEBPACK_IMPORTED_MODULE_2__providers_transaction_service__["a" /* TransactionService */]])
129
     ], TransactionPage);
190
     ], TransactionPage);
130
     return TransactionPage;
191
     return TransactionPage;
131
 }());
192
 }());
134
 
195
 
135
 /***/ }),
196
 /***/ }),
136
 
197
 
137
-/***/ 114:
198
+/***/ 116:
138
 /***/ (function(module, exports) {
199
 /***/ (function(module, exports) {
139
 
200
 
140
 function webpackEmptyAsyncContext(req) {
201
 function webpackEmptyAsyncContext(req) {
147
 webpackEmptyAsyncContext.keys = function() { return []; };
208
 webpackEmptyAsyncContext.keys = function() { return []; };
148
 webpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;
209
 webpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;
149
 module.exports = webpackEmptyAsyncContext;
210
 module.exports = webpackEmptyAsyncContext;
150
-webpackEmptyAsyncContext.id = 114;
211
+webpackEmptyAsyncContext.id = 116;
151
 
212
 
152
 /***/ }),
213
 /***/ }),
153
 
214
 
154
-/***/ 156:
215
+/***/ 158:
155
 /***/ (function(module, exports, __webpack_require__) {
216
 /***/ (function(module, exports, __webpack_require__) {
156
 
217
 
157
 var map = {
218
 var map = {
158
 	"../pages/tab4/tab4.module": [
219
 	"../pages/tab4/tab4.module": [
159
-		279,
220
+		280,
160
 		3
221
 		3
161
 	],
222
 	],
162
 	"../pages/tabs/tabs.module": [
223
 	"../pages/tabs/tabs.module": [
163
-		280,
224
+		281,
164
 		2
225
 		2
165
 	],
226
 	],
166
 	"../pages/transaction/transaction.module": [
227
 	"../pages/transaction/transaction.module": [
167
-		281,
228
+		282,
168
 		1
229
 		1
169
 	],
230
 	],
170
 	"../pages/wallet/wallet.module": [
231
 	"../pages/wallet/wallet.module": [
171
-		282,
232
+		283,
172
 		0
233
 		0
173
 	]
234
 	]
174
 };
235
 };
183
 webpackAsyncContext.keys = function webpackAsyncContextKeys() {
244
 webpackAsyncContext.keys = function webpackAsyncContextKeys() {
184
 	return Object.keys(map);
245
 	return Object.keys(map);
185
 };
246
 };
186
-webpackAsyncContext.id = 156;
247
+webpackAsyncContext.id = 158;
187
 module.exports = webpackAsyncContext;
248
 module.exports = webpackAsyncContext;
188
 
249
 
189
 /***/ }),
250
 /***/ }),
190
 
251
 
191
-/***/ 157:
252
+/***/ 159:
192
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
253
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
193
 
254
 
194
 "use strict";
255
 "use strict";
195
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return HomePage; });
256
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return HomePage; });
196
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
257
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
197
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(28);
258
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(28);
198
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_block_service__ = __webpack_require__(158);
259
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_block_service__ = __webpack_require__(160);
199
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
260
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
200
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
261
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
201
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
262
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
235
     };
296
     };
236
     HomePage = __decorate([
297
     HomePage = __decorate([
237
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
298
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
238
-            selector: 'page-home',template:/*ion-inline-start:"/Users/navyas/Labs6/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/home/home.html"*/'<ion-header>\n  <ion-navbar>\n    <ion-title>\n      ZipCoin BlockChain\n    </ion-title>\n  </ion-navbar>\n</ion-header>\n\n<ion-content padding>\n\n  <ion-list>\n    <ion-item-sliding *ngFor="let block of blocks">\n      <ion-item>\n        <ion-card>\n            <ion-card-header>\n              Block #: {{block.blockNumber}}\n            </ion-card-header>\n            <ion-card-content>\n              <div>Nonce: {{ block.nonce }}</div>\n              <div>Data: {{ block.transactionList }}</div>\n              <div>Previous Hash: {{ block.previousHash }}</div>\n              <div>Current Hash: {{ block.currentHash }}</div>\n              <button ion-button (click)="getMinedBlock(block.id)">Mine</button>\n            </ion-card-content>\n        </ion-card>\n      </ion-item>\n    </ion-item-sliding>\n  </ion-list>\n\n</ion-content>'/*ion-inline-end:"/Users/navyas/Labs6/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/home/home.html"*/
299
+            selector: 'page-home',template:/*ion-inline-start:"/Users/ericf/ZCWProjects/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/home/home.html"*/'<ion-header>\n  <ion-navbar>\n    <ion-title>\n      ZipCoin BlockChain\n    </ion-title>\n  </ion-navbar>\n</ion-header>\n\n<ion-content padding>\n\n  <ion-list>\n    <ion-item-sliding *ngFor="let block of blocks">\n      <ion-item>\n        <ion-card>\n            <ion-card-header>\n              Block #: {{block.blockNumber}}\n            </ion-card-header>\n            <ion-card-content>\n              <div>Nonce: {{ block.nonce }}</div>\n              <div>Data: {{ block.transactionList }}</div>\n              <div>Previous Hash: {{ block.previousHash }}</div>\n              <div>Current Hash: {{ block.currentHash }}</div>\n              <button ion-button (click)="getMinedBlock(block.id)">Mine</button>\n            </ion-card-content>\n        </ion-card>\n      </ion-item>\n    </ion-item-sliding>\n  </ion-list>\n\n</ion-content>'/*ion-inline-end:"/Users/ericf/ZCWProjects/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/home/home.html"*/
239
         }),
300
         }),
240
         __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */], __WEBPACK_IMPORTED_MODULE_2__providers_block_service__["a" /* BlockService */]])
301
         __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */], __WEBPACK_IMPORTED_MODULE_2__providers_block_service__["a" /* BlockService */]])
241
     ], HomePage);
302
     ], HomePage);
252
 
313
 
253
 /***/ }),
314
 /***/ }),
254
 
315
 
255
-/***/ 158:
316
+/***/ 160:
256
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
317
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
257
 
318
 
258
 "use strict";
319
 "use strict";
259
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return BlockService; });
320
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return BlockService; });
260
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_common_http__ = __webpack_require__(159);
321
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_common_http__ = __webpack_require__(78);
261
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0);
322
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0);
262
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
323
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
263
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
324
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
296
 
357
 
297
 /***/ }),
358
 /***/ }),
298
 
359
 
299
-/***/ 203:
360
+/***/ 204:
300
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
361
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
301
 
362
 
302
 "use strict";
363
 "use strict";
303
 Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
364
 Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
304
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__ = __webpack_require__(204);
305
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__app_module__ = __webpack_require__(224);
365
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__ = __webpack_require__(205);
366
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__app_module__ = __webpack_require__(225);
306
 
367
 
307
 
368
 
308
 Object(__WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__["a" /* platformBrowserDynamic */])().bootstrapModule(__WEBPACK_IMPORTED_MODULE_1__app_module__["a" /* AppModule */]);
369
 Object(__WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__["a" /* platformBrowserDynamic */])().bootstrapModule(__WEBPACK_IMPORTED_MODULE_1__app_module__["a" /* AppModule */]);
310
 
371
 
311
 /***/ }),
372
 /***/ }),
312
 
373
 
313
-/***/ 224:
374
+/***/ 225:
314
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
375
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
315
 
376
 
316
 "use strict";
377
 "use strict";
318
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser__ = __webpack_require__(31);
379
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser__ = __webpack_require__(31);
319
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0);
380
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0);
320
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ionic_angular__ = __webpack_require__(28);
381
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ionic_angular__ = __webpack_require__(28);
321
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__ = __webpack_require__(199);
322
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__ionic_native_status_bar__ = __webpack_require__(202);
323
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__app_component__ = __webpack_require__(278);
324
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__angular_common_http__ = __webpack_require__(159);
325
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_block_service__ = __webpack_require__(158);
326
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__pages_home_home__ = __webpack_require__(157);
327
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__pages_wallet_wallet__ = __webpack_require__(101);
328
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__pages_transaction_transaction__ = __webpack_require__(102);
329
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__pages_tabs_tabs__ = __webpack_require__(100);
330
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__pages_tab4_tab4__ = __webpack_require__(99);
382
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__ = __webpack_require__(200);
383
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__ionic_native_status_bar__ = __webpack_require__(203);
384
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__app_component__ = __webpack_require__(279);
385
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__angular_common_http__ = __webpack_require__(78);
386
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_block_service__ = __webpack_require__(160);
387
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__pages_home_home__ = __webpack_require__(159);
388
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__pages_wallet_wallet__ = __webpack_require__(103);
389
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__pages_transaction_transaction__ = __webpack_require__(104);
390
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__pages_tabs_tabs__ = __webpack_require__(102);
391
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__pages_tab4_tab4__ = __webpack_require__(101);
392
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__providers_transaction_service__ = __webpack_require__(50);
331
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
393
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
332
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
394
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
333
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
395
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
347
 
409
 
348
 
410
 
349
 
411
 
412
+
350
 var AppModule = /** @class */ (function () {
413
 var AppModule = /** @class */ (function () {
351
     function AppModule() {
414
     function AppModule() {
352
     }
415
     }
385
                 __WEBPACK_IMPORTED_MODULE_4__ionic_native_status_bar__["a" /* StatusBar */],
448
                 __WEBPACK_IMPORTED_MODULE_4__ionic_native_status_bar__["a" /* StatusBar */],
386
                 __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__["a" /* SplashScreen */],
449
                 __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__["a" /* SplashScreen */],
387
                 __WEBPACK_IMPORTED_MODULE_7__providers_block_service__["a" /* BlockService */],
450
                 __WEBPACK_IMPORTED_MODULE_7__providers_block_service__["a" /* BlockService */],
451
+                __WEBPACK_IMPORTED_MODULE_13__providers_transaction_service__["a" /* TransactionService */],
388
                 { provide: __WEBPACK_IMPORTED_MODULE_1__angular_core__["u" /* ErrorHandler */], useClass: __WEBPACK_IMPORTED_MODULE_2_ionic_angular__["b" /* IonicErrorHandler */] }
452
                 { provide: __WEBPACK_IMPORTED_MODULE_1__angular_core__["u" /* ErrorHandler */], useClass: __WEBPACK_IMPORTED_MODULE_2_ionic_angular__["b" /* IonicErrorHandler */] }
389
             ]
453
             ]
390
         })
454
         })
396
 
460
 
397
 /***/ }),
461
 /***/ }),
398
 
462
 
399
-/***/ 278:
463
+/***/ 279:
400
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
464
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
401
 
465
 
402
 "use strict";
466
 "use strict";
403
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MyApp; });
467
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MyApp; });
404
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
468
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
405
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(28);
469
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(28);
406
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__ionic_native_status_bar__ = __webpack_require__(202);
407
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__ = __webpack_require__(199);
408
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__pages_tabs_tabs__ = __webpack_require__(100);
470
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__ionic_native_status_bar__ = __webpack_require__(203);
471
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__ = __webpack_require__(200);
472
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__pages_tabs_tabs__ = __webpack_require__(102);
409
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
473
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
410
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
474
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
411
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
475
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
431
         });
495
         });
432
     }
496
     }
433
     MyApp = __decorate([
497
     MyApp = __decorate([
434
-        Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({template:/*ion-inline-start:"/Users/navyas/Labs6/ZipCoin-RED/ZipCoinRedIonicClient/src/app/app.html"*/'<ion-nav [root]="rootPage"></ion-nav>\n'/*ion-inline-end:"/Users/navyas/Labs6/ZipCoin-RED/ZipCoinRedIonicClient/src/app/app.html"*/
498
+        Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({template:/*ion-inline-start:"/Users/ericf/ZCWProjects/ZipCoin-RED/ZipCoinRedIonicClient/src/app/app.html"*/'<ion-nav [root]="rootPage"></ion-nav>\n'/*ion-inline-end:"/Users/ericf/ZCWProjects/ZipCoin-RED/ZipCoinRedIonicClient/src/app/app.html"*/
435
         }),
499
         }),
436
         __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["g" /* Platform */], __WEBPACK_IMPORTED_MODULE_2__ionic_native_status_bar__["a" /* StatusBar */], __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__["a" /* SplashScreen */]])
500
         __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["g" /* Platform */], __WEBPACK_IMPORTED_MODULE_2__ionic_native_status_bar__["a" /* StatusBar */], __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__["a" /* SplashScreen */]])
437
     ], MyApp);
501
     ], MyApp);
442
 
506
 
443
 /***/ }),
507
 /***/ }),
444
 
508
 
445
-/***/ 99:
509
+/***/ 50:
446
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
510
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
447
 
511
 
448
 "use strict";
512
 "use strict";
449
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Tab4Page; });
513
+/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TransactionService; });
450
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
514
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
451
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(28);
515
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_common_http__ = __webpack_require__(78);
452
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
516
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
453
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
517
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
454
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
518
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
460
 };
524
 };
461
 
525
 
462
 
526
 
463
-/**
464
- * Generated class for the Tab4Page page.
465
- *
466
- * See https://ionicframework.com/docs/components/#navigation for more info on
467
- * Ionic pages and navigation.
468
- */
469
-var Tab4Page = /** @class */ (function () {
470
-    function Tab4Page(navCtrl, navParams) {
471
-        this.navCtrl = navCtrl;
472
-        this.navParams = navParams;
527
+var TransactionService = /** @class */ (function () {
528
+    function TransactionService(http) {
529
+        this.http = http;
530
+        this.API = 'http://localhost:8080/api/v1';
531
+        this.TRANSACTION_API = this.API + '/transactions';
473
     }
532
     }
474
-    Tab4Page.prototype.ionViewDidLoad = function () {
475
-        console.log('ionViewDidLoad Tab4Page');
533
+    TransactionService.prototype.createTransaction = function (transaction) {
534
+        return this.http.post(this.TRANSACTION_API, transaction);
476
     };
535
     };
477
-    Tab4Page = __decorate([
478
-        Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
479
-            selector: 'page-tab4',template:/*ion-inline-start:"/Users/navyas/Labs6/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/tab4/tab4.html"*/'<!--\n  Generated template for the Tab4Page page.\n\n  See http://ionicframework.com/docs/components/#navigation for more info on\n  Ionic pages and navigation.\n-->\n<ion-header>\n\n  <ion-navbar>\n    <ion-title>tab4</ion-title>\n  </ion-navbar>\n\n</ion-header>\n\n\n<ion-content padding>\n\n</ion-content>\n'/*ion-inline-end:"/Users/navyas/Labs6/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/tab4/tab4.html"*/,
480
-        }),
481
-        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavParams */]])
482
-    ], Tab4Page);
483
-    return Tab4Page;
536
+    TransactionService.prototype.getAllTransactions = function () {
537
+        return this.http.get(this.TRANSACTION_API);
538
+    };
539
+    TransactionService = __decorate([
540
+        Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["A" /* Injectable */])(),
541
+        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1__angular_common_http__["a" /* HttpClient */]])
542
+    ], TransactionService);
543
+    return TransactionService;
484
 }());
544
 }());
485
 
545
 
486
-//# sourceMappingURL=tab4.js.map
546
+//# sourceMappingURL=transaction-service.js.map
487
 
547
 
488
 /***/ })
548
 /***/ })
489
 
549
 
490
-},[203]);
550
+},[204]);
491
 //# sourceMappingURL=main.js.map
551
 //# sourceMappingURL=main.js.map