Show HN: Post Bitcoin transactions in one page of JS code
dev.blockcypher.com
Show HN: Post Bitcoin transactions in one page of JS code
1–8 of 8 posts
Re: Show HN: Post Bitcoin transactions in one page of JS code
#2Includes websockets and webhooks to get notified on a variety of blockchain events.
Re: Show HN: Post Bitcoin transactions in one page of JS code
#3Re: Show HN: Post Bitcoin transactions in one page of JS code
#4Re: Show HN: Post Bitcoin transactions in one page of JS code
#5Using a remote server to build the transaction and then signing it locally seems pretty cumbersome.
The alternative is building the full binary transaction on your end, which involves selecting inputs, generating scripts, worrying about fees, etc. Implementing that is a week's project. Using an API is 5 min.
Re: Show HN: Post Bitcoin transactions in one page of JS code
#6Using a remote server to build the transaction and then signing it locally seems pretty cumbersome.
It's much simpler than it sounds, only 7 lines of code in the sample posted. The point is that most people don't want to share their private key or their users' private keys, justifiably so. The alternative is building the full binary transaction on your end, which involves selecting inputs, generating scripts, worrying about fees, etc. Implementing that is a week's project. Using an API is 5 min.
Hasn't BitCore already done that?
Re: Show HN: Post Bitcoin transactions in one page of JS code
#7Earlier quoted context omitted.
It's much simpler than it sounds, only 7 lines of code in the sample posted. The point is that most people don't want to share their private key or their users' private keys, justifiably so. The alternative is building the full binary transaction on your end, which involves selecting inputs, generating scripts, worrying about fees, etc. Implementing that is a week's project. Using an API is 5 min.
The alternative is building the full binary transaction on your end, which involves selecting inputs, generating scripts, worrying about fees, etc. Implementing that is a week's project. Hasn't BitCore already done that?
So using BlockCypher's API to do that is much more portable (you have ECDSA signature libs in most PLs) and avoids all the hassles of additional infrastructure.
Re: Show HN: Post Bitcoin transactions in one page of JS code
#8so you guys are giving free coins? cool! ;) nice api!