Go to file
Matias Alejo Garcia 1361b9715d Update README.md
remove outdated sections. adds platform specific build details.
2015-07-07 14:39:45 -03:00
browser-extensions Update bws host. Add only files needed 2015-04-16 12:39:14 -03:00
cordova New release v1.1.0 2015-07-02 11:37:13 -03:00
po Updates es.po. Fix a title 2015-07-01 10:42:02 -03:00
public Updates es.po. Fix a title 2015-07-01 10:42:02 -03:00
src update exchange rate at 5 min interval 2015-07-01 19:10:57 -03:00
test Fix test. Dummy test 2015-04-22 15:54:44 -03:00
util warn a swipeWallet 2015-05-19 00:52:29 -03:00
webkitbuilds Fixes builder for windows 2015-06-03 12:36:56 -03:00
.coveralls.yml add coverage reports 2014-06-05 13:30:01 -03:00
.gitignore Fix gitignore 2015-06-02 16:44:23 -03:00
.travis.yml Test for profile backups. Update travis.yaml 2014-11-12 12:35:50 -03:00
CHANGES.md Fixed typos 2015-05-14 12:39:02 -04:00
CONTRIBUTE.md Fixed typos 2015-05-14 12:40:03 -04:00
Gruntfile.js add -megabytes options to hdiutil 2015-06-29 10:49:14 -03:00
LICENSE Updated copyright notice year 2015-03-17 11:26:02 -04:00
Makefile bwc 2015-04-11 10:53:15 -03:00
README.md Update README.md 2015-07-07 14:39:45 -03:00
app.js bwc 2015-04-11 10:53:15 -03:00
appstore_de Changed spelling create wallet / added appstore_de 2015-06-12 11:11:02 +02:00
appstore_en Updates description for stores 2015-06-03 11:34:22 -03:00
appstore_es Updates appstore_es 2015-06-04 13:06:52 -03:00
appstore_fr Update appstore_fr 2015-06-03 18:37:54 +02:00
appstore_ja Typo in Japanese appstore 2015-06-04 01:01:33 +09:00
appstore_pt Add PT languages to selector 2015-06-04 12:54:36 -03:00
bower.json Updates angular-bitcore-wallet-client 2015-06-30 14:12:25 -03:00
jsdoc.conf.json JSDocs generated by grunt 2014-09-13 23:49:56 -03:00
package.json New release v1.1.0 2015-07-02 11:37:13 -03:00

README.md

Copay

Build Status

Copay is an easy-to-use, open-source, multiplatform, multisignature, secure bitcoin wallet platform for both individuals and companies.

Copay uses Bitcore-Wallet-Service (https://github.com/bitpay/bitcore-wallet-service) for peer synchronization and bitcore network interfacing.

Binary versions of Copay are available for download at Copay.io

Installation

Bitcore Wallet Service

Copay depends on Bitcore Wallet Service (BWS) for blockchain information, networking and copayer synchronization. BWS can be run within minutes or you can use a public instance. Switch between BWS instances is very simple and can be done with a click from Copay. BWS also allows Copay to interoperate with others wallet like Bitcore-Wallet CLI https://github.com/bitpay/bitcore-wallet.

Alternativelly, public BWS instances (like https://bws.bitpay.com) can be used.

Copay installation

git clone https://github.com/bitpay/copay.git
cd copay

Install bower and grunt if you haven't already:

npm install -g bower
npm install -g grunt-cli

Build Copay:

bower install
npm install
grunt
npm start

Then visit localhost:3000 in your browser.

When running Copay as a web page, and a browser extension is enabled, the browser extension could have access to Copay internal data, and compromise the user's private key and more.

Build Copay App Bundles

Android

  • Install Android SDK
  • Run make android

iOS

  • Install XCode
  • Run make ios-prod

Windows Phone

  • Install Visual Studio 2013 (or newer)
  • Run make wp8-prod

Desktop versions (Windows, OSX, Linux)

Copay uses NW.js (also know as node-webkit) for its desktop version. NW.js an app runtime based on Chromium and node.js.

  • Install NW.js in your system from nw.js
  • Run grunt desktop (*)

Google Chrome App

To build Copay's Chrome App, run:

npm run-script chrome

On success, the chrome extension will be located at: browser-extensions/chrome/copay-chrome-extension

To install it go to chrome://extensions/ in your Chrome browser and ensure you have the 'developer mode' option enabled in the settings. Then click on "Load unpacked chrome extension" and choose the directory mentioned above.

Firefox Add-on

The Copay Firefox Extension has been deprecated and is no longer supported.

Translations

Copay uses standart gettext PO files for tranlations. It is currently translated to spanish, japanese, french, german and portuguese thank to community contributions. See https://github.com/bitpay/copay/pull/2880 as an example pull request for adding translations.

Translation Credits: Japanese: @dabura667, French: @kirvx, Portuguese: @pmichelazzo, Spanish: @cmgustavo, German: @saschad. Gracias totales!

About Copay

General

Copay implements a multisig wallet using p2sh addresses. It supports multiple wallet, with with its own configuration, such as 3-of-5 (3 required signatures from 5 participant peers) or 2-of-3. To create a multisig wallet shared between multiple participants, Copay requires the extended public keys of all the wallet participants. Those public keys are then incorporated into the wallet configuration and combined to generate a payment address where funds can be sent into the wallet. Conversely, each participant manages their own private key and that private key is never transmitted anywhere.

To unlock a payment and spend the wallet's funds, a quorum of participant signatures must be collected and assembled in the transaction. The funds cannot be spent without at least the minimum number of signatures required by the wallet configuration (2 of 3, 3 of 5, 6 of 6, etc). Once a transaction proposal is created, the proposal is distributed among the wallet participants for each to sign the transaction locally. Once the transaction is signed, the last signing participant will broadcast the transaction to the Bitcoin network.

Copay also implements BIP32 to generate new addresses for peers. The public key that each participant contributes to the wallet is a BIP32 extended public key. As additional public keys are needed for wallet operations (to produce new addresses to receive payments into the wallet, for example) new public keys can be derived from the participants' original extended public keys. Once again, it's important to stress that each participant keeps their own private keys locally - private keys are not shared - and are used to sign transaction proposals to make payments from the shared wallet.

For more information regarding how addresses are generated using this procedure, see: Structure for Deterministic P2SH Multisignature Wallets.

Bitcore

Copay uses the powerful and feature-rich Bitcore Javascript library for Bitcoin-related functions. Bitcore should be built this way:

Payment Protocol

Copay currently supports BIP70 (Payment Protocol), with the following limitations:

  • Only one output is allowed. Payment requests that are more that one output are not supported.
  • Only standard Pay-to-pubkeyhash and Pay-to-scripthash scripts are supported (on payment requests). Other script types will cause the entire payment request to be rejected.
  • Memos from the customer to the server are not supported (i.e. there is no place to write messages to the server in the current UX)