Copay Bitcoin wallet addon with support for Colored Coins.
JavaScript HTML
Latest commit 8619a83 Oct 7, 2016 @troggy troggy committed on GitHub fix: typo
Permalink
Failed to load latest commit information.
css Add "locked/unlocked" switch to issue page #14 Sep 21, 2015
dist
js
resources
server CC API Proxy: Update user-agent to include Copay string Aug 25, 2015
views Add "locked/unlocked" switch to issue page #14 Sep 21, 2015
.gitignore Ignore IDE files Jul 17, 2015
Gruntfile.js
Procfile
README.md fix: typo Oct 7, 2016
STATUS.md
bower.json
config.js Make config to be a part of addon, not the Copay Aug 14, 2015
package.json

README.md

DEPRECATED

This was created for older Copay 1.8.0 which is not supported anymore. Please use https://github.com/Colored-Coins/colored-coins-copay-wallet instead.


Copay addon with support for Colored Coins.

Installation

Quick install

The following will setup Copay 1.2.0 with this addon installed:

git clone -b colored https://github.com/troggy/copay
cd copay
npm run setup
grunt prod

(optional) Setup AWS S3 bucket if you want to upload icons to assets. Change profile, bucket and region names in bower_components/colored-coins-copay-addon/Procfile

Run with foreman:

nf start

Manual installation

Setup addon from scratch on top of Copay 1.2.0 (won't work for latest version of Copay)

  1. Install Copay 1.2.0:

  2. Install addon and it's dependencies inside Copay folder:

    bower install colored-coins-copay-addon && cd bower_components/colored-coins-copay-addon && npm i && cd -
    
  3. Add copayAddon.coloredCoins module as dependency of copayApp.addons module (in copay/src/js/app.js):

     angular.module('copayApp.addons', ['copayAddon.coloredCoins']);
    
  4. Update Copay's Gruntfile (copay/Grunfile.js).

    Add the following under concat.angular.src:

    'bower_components/colored-coins-copay-addon/dist/copayColoredCoins.js',
    'bower_components/colored-coins-copay-addon/config.js'
    

    And under concat.foundation.src:

    'bower_components/colored-coins-copay-addon/css/assets.css'
    
  5. If you are installing this addon on public Copay (in other words, not for development purposes), change bower_components/colored-coins-copay-addon/config.js so that it has your copay's host name instead of localhost. You need to have ports 8000, 8100, 8200 to be open for incoming connections for that host.

  6. Addon uses S3 bucket to store uploaded asset icons. Configuration:

    • Configure AWS profile. It should have PutObject permission on you bucket.
    • Change profile, bucket and region names in bower_components/colored-coins-copay-addon/Procfile
  7. Rebuild Copay:

    grunt
    
  8. Run services with ff:

    foreman start -f bower_components/colored-coins-copay-addon/Procfile
    
  9. Start Copay. In copay folder:

    npm start