{"action":"created","issue":{"url":"https://api.github.com/repos/bitcoin-torrent/bitcoin-torrent/issues/2","labels_url":"https://api.github.com/repos/bitcoin-torrent/bitcoin-torrent/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/bitcoin-torrent/bitcoin-torrent/issues/2/comments","events_url":"https://api.github.com/repos/bitcoin-torrent/bitcoin-torrent/issues/2/events","html_url":"https://github.com/bitcoin-torrent/bitcoin-torrent/issues/2","id":55159594,"number":2,"title":"consider using bitcore + bitcore-channel","user":{"login":"maraoz","id":287189,"avatar_url":"https://avatars.githubusercontent.com/u/287189?v=3","gravatar_id":"","url":"https://api.github.com/users/maraoz","html_url":"https://github.com/maraoz","followers_url":"https://api.github.com/users/maraoz/followers","following_url":"https://api.github.com/users/maraoz/following{/other_user}","gists_url":"https://api.github.com/users/maraoz/gists{/gist_id}","starred_url":"https://api.github.com/users/maraoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maraoz/subscriptions","organizations_url":"https://api.github.com/users/maraoz/orgs","repos_url":"https://api.github.com/users/maraoz/repos","events_url":"https://api.github.com/users/maraoz/events{/privacy}","received_events_url":"https://api.github.com/users/maraoz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-22T14:33:26Z","updated_at":"2015-01-22T15:26:25Z","closed_at":null,"body":"We have a payment channels implementation in `bitcore`: https://github.com/bitpay/bitcore-channel\r\n\r\nBitcore also provides some built-in and well-tested functionality I see you are implementing. For example, creating multisig scripts:\r\nhttps://github.com/bitcoin-torrent/bitcoin-torrent/blob/master/bitcointorrent.js#L160\r\nour version:\r\nhttps://github.com/bitpay/bitcore/blob/master/lib/script/script.js#L541\r\n\r\nLet us know if you're interested and we'd be happy to help in anything possible :)"},"comment":{"url":"https://api.github.com/repos/bitcoin-torrent/bitcoin-torrent/issues/comments/71037185","html_url":"https://github.com/bitcoin-torrent/bitcoin-torrent/issues/2#issuecomment-71037185","issue_url":"https://api.github.com/repos/bitcoin-torrent/bitcoin-torrent/issues/2","id":71037185,"user":{"login":"maraoz","id":287189,"avatar_url":"https://avatars.githubusercontent.com/u/287189?v=3","gravatar_id":"","url":"https://api.github.com/users/maraoz","html_url":"https://github.com/maraoz","followers_url":"https://api.github.com/users/maraoz/followers","following_url":"https://api.github.com/users/maraoz/following{/other_user}","gists_url":"https://api.github.com/users/maraoz/gists{/gist_id}","starred_url":"https://api.github.com/users/maraoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maraoz/subscriptions","organizations_url":"https://api.github.com/users/maraoz/orgs","repos_url":"https://api.github.com/users/maraoz/repos","events_url":"https://api.github.com/users/maraoz/events{/privacy}","received_events_url":"https://api.github.com/users/maraoz/received_events","type":"User","site_admin":false},"created_at":"2015-01-22T15:26:25Z","updated_at":"2015-01-22T15:26:25Z","body":"Here's the updated `bitcore-channel` link: http://bitcore.io/guide/module/channel/index.html\r\n\r\nRegarding publishing the tx to the network, you can use https://github.com/bitpay/bitcore-explorers, and you don't need to configure anything. It'll just work using bitpays' public insight server (https://insight.bitpay.com/), no need to setup Bitcoin Core or insight locally. \r\n\r\nFor accepting payments, you can also use `bitcore-explorers`, and check an address' unspent outputs. \r\n\r\nRegarding instant payments, we still don't have any open-source solution there. We're working on http://impulse.is/, but it's still early in development. \r\n\r\nFinal comment: You might want to check the code in https://github.com/streamium/paystream, which uses `bitcore-channel` and does similar stuff to what you want.\r\n"}}