diff --git a/src/js/controllers/addresses.js b/src/js/controllers/addresses.js
new file mode 100644
index 000000000..1425ac50f
--- /dev/null
+++ b/src/js/controllers/addresses.js
@@ -0,0 +1,6 @@
+'use strict';
+
+angular.module('copayApp.controllers').controller('addressesController', function($scope, $stateParams, profileService, walletService) {
+ $scope.wallet = profileService.getWallet($stateParams.walletId);
+
+});
diff --git a/src/js/controllers/tab-receive.js b/src/js/controllers/tab-receive.js
index ea8b9778a..cae89c917 100644
--- a/src/js/controllers/tab-receive.js
+++ b/src/js/controllers/tab-receive.js
@@ -48,6 +48,12 @@ angular.module('copayApp.controllers').controller('tabReceiveController', functi
}, 100);
};
+ $scope.showAddresses = function() {
+ $state.transitionTo('tabs.receive.addresses', {
+ walletId: $scope.wallet.credentials.walletId
+ });
+ };
+
$scope.openBackupNeededModal = function() {
$ionicModal.fromTemplateUrl('views/includes/backupNeededPopup.html', {
scope: $scope,
diff --git a/src/js/routes.js b/src/js/routes.js
index cd935dda2..e00498966 100644
--- a/src/js/routes.js
+++ b/src/js/routes.js
@@ -616,6 +616,31 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
}
})
+ /*
+ *
+ * Addresses
+ *
+ */
+
+ .state('tabs.receive.addresses', {
+ url: '/addresses/:walletId',
+ views: {
+ 'tab-receive@tabs': {
+ controller: 'addressesController',
+ templateUrl: 'views/addresses.html'
+ }
+ }
+ })
+ .state('tabs.receive.allAddresses', {
+ url: '/allAddresses/:walletId',
+ views: {
+ 'tab-receive@tabs': {
+ controller: 'addressesController',
+ templateUrl: 'views/allAddresses.html'
+ }
+ }
+ })
+
/*
*
* Init backup flow
diff --git a/www/views/addresses.html b/www/views/addresses.html
new file mode 100644
index 000000000..ad66c733b
--- /dev/null
+++ b/www/views/addresses.html
@@ -0,0 +1,35 @@
+
+ We’re always looking for translation contributions! You can make corrections or help to make this app available in your native language by joining our community on Crowdin.
+
+
+ We’re always looking for translation contributions! You can make corrections or help to make this app available in your native language by joining our community on Crowdin.
+
+