bitcore-channel
bitcore-channel copied to clipboard
Payment channels smart contract support for bitcore.
examples/01.createChannel.js `fs.writeFileSync('unsigned.refund.log', consumer.setupRefund().toJSON());` write [object Object] so that is not working examples/02.signRefund.js var refund = JSON.parse(String(fs.readFileSync('unsigned.refund.log')));
at 03.broadcastCommitment.js var commitment = JSON.parse(fs.readFileSync('commitment.log')); consumer.commitmentTx = new Commitment(commitment); assert(consumer.commitmentTx.isFullySigned());
Copying from https://github.com/bitpay/bitcore/issues/1059 > See https://github.com/bitpay/bitcore/pull/1048
the first line in validateRefund: refund = new Refund(refund); overwrites some parts of refund, eliminating the output, which is immediately referenced in the third line in validateRefund: var receivedAddress =...
Hey I fixed the bug was preventing the refund exchange from getting thru, cuz we're using bitcore and need payment channel code to work. It seems to be something to...
It might be a good idea to add an example to the payment channel portion of the developer guide for the case that the provider simply returns a signature of...
hi there, when following the docs and examples to set up a channel, i get this error: ``` bitcore-channel.js:140 Uncaught TypeError: Cannot read property 'script' of undefined ``` this happens...