bit create myWallet 2-3
bit address
bit send <>
| var b = require('bitcore'); | |
| var priv = new b.PrivateKey(); | |
| var pub = new b.PublicKey(priv); | |
| var inputs = | |
| [ { txid: 'e872a0fda0afd0bce31ddfd9229c9eca2a68e4746615b8a0902b7a657b83676d', | |
| vout: 8, | |
| amount: 100, | |
| scriptPubKey: b.Script.buildPublicKeyHashOut(pub).toBuffer().toString('hex') } ] ; |
The following is a procedure to grab the extended priv key, for copayers that are
After selecting an item, go back to the javascript console and type:
var w= angular.element($0).scope().wallet; w?'OK':'';
Insight commit 70fc47f343417a5bd71241d42bd579c2949b54ef Author: Rainer Koirikivi rainer@koirikivi.fi Date: Mon Nov 3 22:59:38 2014 +0200
Friendlier error reporting for sendRawTransaction
borro emailstorage db
config.js to point to localhostENABLE_MAILBOX="true" ENABLE_EMAILSTORE="true" ./insight.js $ git clone -b bug/swipe --single-branch https://github.com/matiu/copay.git
$ cd copay
$ bower i
$ npm i
$ grunt
$ util/swipeWallet.js XXX
| Joining a wallet | |
| ================ | |
| Creator (C) <-> Joining Peer (J) | |
| (J) | |
| <- Hello (secret random, peerPubkey) encrypted with creatorPubkey | |
| (C) | |
| (async._addConnectedPeer, emit 'connect', w.sendWalletId) |
class.setName('name');
class.name.should.equal('name'); // Wrong
clase.getName().should.equal('name'); //Right
| var opts = { | |
| blockchain: new Blockchain(...),, | |
| storage: localstorage / insight / drive, | |
| networking: new Async(...), | |
| }; | |
| Identity.create(email, password, opts, function(err, iden){ | |
| // | |
| }) |