Skip to content

Colored-Coins/Colored-coins-add-on-for-Copay

Repository files navigation

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
    

About

Copay Bitcoin wallet addon with support for Colored Coins.

Resources

License

Stars

Watchers

Forks

Packages

No packages published