-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error running back.js #1
Comments
it's been a long time for this demo, some libs may have been changed, I remember everything went right, looks like you're running multiple instance aren't you? or check out this issue. |
yep, If I add |
I was really hoping that your pinned dependencies would work with this code. The other option is to use curl on some block explorer data api and piece together the info. I'm new to bitcoin so its a bit hard to know what numbers go where. |
@morenoh149 all dependencies can be found in |
ideally we shouldn't have to run a full node. The insights api is supposed to query public blockchain apis for transaction data and you should still be able to sign transactions adhoc (offline, one of the powers of bitcoin). For broadcasting the transaction you can send the transaction to the network (Bitcore-p2p does this I think). My deadline passed so I'm no longer rushing to get this done. I may revisit this before December. |
I'm sorry for the delay and deadline, I had to dig deeper, the original source can be found on youtube, I've tested bitcore-lib again I could generate an address/private key, the lib is easy to use, now in order to sign/send transaction you must connect to the full node (or lightning network in case of off-blockchain tx), or you may check api.blockcypher there many samples to query the blockchain, you could also use some free services to interact with a full node, I'm more familiar with infura for ethereum, for bitcoin you can use chainstack for test, this guy demonstrate an example, hope this helps. |
Yes this is great! Blockchain.info also provides free blockchain info . Lastly, could you opine on bitcoinjs? How does that compare to bitcore. |
looking into https://bcoin.io/guides/working-with-txs.html seems higher quality |
did you ever figure this out?
The text was updated successfully, but these errors were encountered: