colored-coins / colored-coins-copay-wallet Goto Github PK
View Code? Open in Web Editor NEWCopay wallet with support for Colored Coins
License: MIT License
Copay wallet with support for Colored Coins
License: MIT License
# npm install
npm ERR! git rev-list -n1 99c604e: fatal: ambiguous argument '99c604e': unknown revision or path not in the working tree.
npm ERR! git rev-list -n1 99c604e: Use '--' to separate paths from revisions, like this:
npm ERR! git rev-list -n1 99c604e: 'git <command> [<revision>...] -- [<file>...]'
The "modal" QRcode scanner is not giving out data when transferring asset. The other QRscan are working properly, but this one in the cc addon doesn't fill in data. When it reads a QRcode, the document page is back to the transfer page, doing nothing.
I tried to fix it doing the same as the paperwallet QR scan, but this doesn't work. I can't really figure out the issue. It is like the onQrCodeScanned(data) function is not properly registered.
--- a/public/views/coloredcoins/modals/send.html
+++ b/public/views/coloredcoins/modals/send.html
@@ -8,7 +8,7 @@
</div>
<h1 class="title ellipsis" translate>Send Asset</h1>
<div class="right-small">
- <qr-scanner on-scan="onQrCodeScanned(data)" />
+ <qr-scanner on-scan="onQrCodeScanned(data, assetTransferForm)" />
</div>
</ion-header-bar>
--- a/src/js/coloredcoins/controllers/modals/transfer.js
+++ b/src/js/coloredcoins/controllers/modals/transfer.js
@@ -9,9 +9,8 @@ var AssetTransferController = function ($rootScope, $scope, $tim...
var self = this;
- $scope.onQrCodeScanned = function (data) {
+ $scope.onQrCodeScanned = function (data, form) {
this.error = '';
- var form = this.assetTransferForm;
if (data) {
form.address.$setViewValue(new bitcore.URI(data).address.toString());
form.address.$isValid = true;
BWS already has a nice logic to select utxos to fund arbitrary spends. It would be good to reuse it for financeOutput, so we don't need to replicate it on client side.
QR code scanner no longer works in insecure environments
I have no AWS S3 server, so it prompts me to miss the S3_REGION env variable
We can take advantage of "aggregatable" feature of Colored Coins for that.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.