diff --git a/README.md b/README.md
index e3fb4a9e7..d7b8db5cf 100644
--- a/README.md
+++ b/README.md
@@ -1 +1 @@
-Cosign
+Copay
diff --git a/bower.json b/bower.json
index 3a6fa5372..c896d33a4 100644
--- a/bower.json
+++ b/bower.json
@@ -1,7 +1,7 @@
{
- "name": "cosign",
+ "name": "copay",
"keywords": [
- "cosign",
+ "copay",
"wallet",
"multisignature"
],
diff --git a/index.html b/index.html
index 5f9f23cbe..79aee1ed8 100644
--- a/index.html
+++ b/index.html
@@ -4,7 +4,7 @@
-
-
Cosigners ({{cosigners.length}}/5)
+ Copayers ({{copayers.length}}/5)
- -
- You ({{$root.peerId}})
- {{cosigner}}
+
-
+ You ({{$root.peerId}})
+ {{copayer}}
@@ -115,7 +115,7 @@
ignore
-
(Required 3 cosign)
+
(Required 3 copay)
sign
diff --git a/js/app.js b/js/app.js
index 584865bbb..1889b53ba 100644
--- a/js/app.js
+++ b/js/app.js
@@ -1,25 +1,25 @@
'use strict';
-angular.module('cosign',[
+angular.module('copay',[
'ngRoute',
'mm.foundation',
'monospaced.qrcode',
- 'cosign.header',
- 'cosign.home',
- 'cosign.transactions',
- 'cosign.send',
- 'cosign.backup',
- 'cosign.network',
- 'cosign.signin',
- 'cosign.join'
+ 'copay.header',
+ 'copay.home',
+ 'copay.transactions',
+ 'copay.send',
+ 'copay.backup',
+ 'copay.network',
+ 'copay.signin',
+ 'copay.join'
]);
-angular.module('cosign.header', []);
-angular.module('cosign.home', []);
-angular.module('cosign.transactions', []);
-angular.module('cosign.send', []);
-angular.module('cosign.backup', []);
-angular.module('cosign.network', []);
-angular.module('cosign.signin', []);
-angular.module('cosign.join', []);
+angular.module('copay.header', []);
+angular.module('copay.home', []);
+angular.module('copay.transactions', []);
+angular.module('copay.send', []);
+angular.module('copay.backup', []);
+angular.module('copay.network', []);
+angular.module('copay.signin', []);
+angular.module('copay.join', []);
diff --git a/js/config.js b/js/config.js
index a8a87bfcd..d124cc2f2 100644
--- a/js/config.js
+++ b/js/config.js
@@ -2,7 +2,7 @@
//Setting up route
angular
- .module('cosign')
+ .module('copay')
.config(function($routeProvider) {
$routeProvider
@@ -34,7 +34,7 @@ angular
//Setting HTML5 Location Mode
angular
- .module('cosign')
+ .module('copay')
.config(function($locationProvider) {
$locationProvider
.html5Mode(false);
diff --git a/js/controllers/backup.js b/js/controllers/backup.js
index b425d739a..677f3ab1b 100644
--- a/js/controllers/backup.js
+++ b/js/controllers/backup.js
@@ -1,6 +1,6 @@
'use strict';
-angular.module('cosign.backup').controller('BackupController',
+angular.module('copay.backup').controller('BackupController',
function($scope, $rootScope, $location) {
$scope.title = 'Backup';
});
diff --git a/js/controllers/header.js b/js/controllers/header.js
index 1623e7e0d..80faae040 100644
--- a/js/controllers/header.js
+++ b/js/controllers/header.js
@@ -1,6 +1,6 @@
'use strict';
-angular.module('cosign.header').controller('HeaderController',
+angular.module('copay.header').controller('HeaderController',
function($scope, $rootScope, $location) {
$scope.menu = [{
'title': 'Home',
diff --git a/js/controllers/home.js b/js/controllers/home.js
index 72af37a25..54a2356e4 100644
--- a/js/controllers/home.js
+++ b/js/controllers/home.js
@@ -1,6 +1,6 @@
'use strict';
-angular.module('cosign.home').controller('HomeController',
+angular.module('copay.home').controller('HomeController',
function($scope, $rootScope, $location) {
$scope.title = 'Home';
diff --git a/js/controllers/join.js b/js/controllers/join.js
index f73ff6fbb..88d19932d 100644
--- a/js/controllers/join.js
+++ b/js/controllers/join.js
@@ -1,20 +1,20 @@
'use strict';
-angular.module('cosign.join').controller('JoinController',
+angular.module('copay.join').controller('JoinController',
function($scope, $rootScope, $routeParams, Network) {
$scope.connectionId = $routeParams.id;
- $scope.cosigners = [];
+ $scope.copayers = [];
$scope.init = function() {
console.log('-------- init --------');
console.log($rootScope.peerId);
- $scope.cosigners.push($rootScope.peerId);
+ $scope.copayers.push($rootScope.peerId);
- Network.connect($scope.connectionId, function(cosigner) {
+ Network.connect($scope.connectionId, function(copayer) {
console.log('----- join connect --------');
- console.log(cosigner);
- $scope.cosigners.push(cosigner);
+ console.log(copayer);
+ $scope.copayers.push(copayer);
$scope.$digest();
});
};
diff --git a/js/controllers/send.js b/js/controllers/send.js
index d529be997..913bff704 100644
--- a/js/controllers/send.js
+++ b/js/controllers/send.js
@@ -1,6 +1,6 @@
'use strict';
-angular.module('cosign.send').controller('SendController',
+angular.module('copay.send').controller('SendController',
function($scope, $rootScope, $location) {
$scope.title = 'Send';
});
diff --git a/js/controllers/signin.js b/js/controllers/signin.js
index e1d24b16b..ae2a89e51 100644
--- a/js/controllers/signin.js
+++ b/js/controllers/signin.js
@@ -1,6 +1,6 @@
'use strict';
-angular.module('cosign.signin').controller('SigninController',
+angular.module('copay.signin').controller('SigninController',
function($scope, $rootScope, $location, Network) {
$rootScope.peerId = null;
$scope.peerReady = false;
diff --git a/js/controllers/transactions.js b/js/controllers/transactions.js
index 0f5e4d442..7a2af271d 100644
--- a/js/controllers/transactions.js
+++ b/js/controllers/transactions.js
@@ -1,6 +1,6 @@
'use strict';
-angular.module('cosign.transactions').controller('TransactionsController',
+angular.module('copay.transactions').controller('TransactionsController',
function($scope, $rootScope, $location) {
$scope.title = 'Transactions';
diff --git a/js/init.js b/js/init.js
index e78d73461..4c8f29b30 100644
--- a/js/init.js
+++ b/js/init.js
@@ -2,5 +2,5 @@
angular.element(document).ready(function() {
// Init the app
- angular.bootstrap(document, ['cosign']);
+ angular.bootstrap(document, ['copay']);
});
diff --git a/js/services/network.js b/js/services/network.js
index d0c7bca4d..4a610709c 100644
--- a/js/services/network.js
+++ b/js/services/network.js
@@ -1,6 +1,6 @@
'use strict';
-angular.module('cosign.network')
+angular.module('copay.network')
.factory('NetworkTest', function() {
this.f = function() {
return 2;
@@ -55,7 +55,7 @@ angular.module('cosign.network')
label: 'wallet',
serialization: 'none',
reliable: false,
- metadata: { message: 'hi! cosigners' }
+ metadata: { message: 'hi! copayers' }
});
c.on('open', function() {
diff --git a/package.json b/package.json
index 518fd6aac..39ae9613b 100644
--- a/package.json
+++ b/package.json
@@ -8,7 +8,7 @@
},
"keywords": [
"wallet",
- "cosign",
+ "copay",
"multisignature",
"bitcoin"
],