question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Client-side Bitcoin Transactions

See original GitHub issue

The last pieces of the blockstack-browser which rely on a local core endpoint are:

  1. Bitcoin transactions (really just spends from /wallet/send)
  2. Legacy application signins / name lookups (at some point, when we stop shipping the local core endpoint, these are going to have to break)

Doing client-side bitcoin transactions can either be implemented in blockstack.js (it’d be pretty simple, the code in txbuild basically does everything that would be necessary) or in blockstack-browser using bitcoinjs-lib directly. I think it’s a little strange to add bitcoin transaction logic to a library whose primary concern is blockstack operations/lookups, but the logic is already mostly there, and implementing this in blockstack-browser would probably end up being more difficult.

Thoughts on which direction to pursue @yknl @larrysalibra ?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
larrysalibracommented, Mar 7, 2018

Long-term we’re going to have payments functionality for stacks as well - it would be nice to have a consistent api for that with a driver model. If we started that payment api with bitcoin, it would give us a head start in coming up with the right payments api for stacks as well.

Based on that, I think it belongs in blockstack.js.

0reactions
kantaicommented, Apr 16, 2018

This has shipped

Read more comments on GitHub >

github_iconTop Results From Across the Web

RGB Magic: Client-Side Contracts On Bitcoin
RGB is a method of ownership verification built on Bitcoin that allows for the continuation of Bitcoin's properties.
Read more >
Client-side validation - RGB FAQ
Client-side validation - is one of the core paradigms used in RGB, which states, that all the data is kept outside of bitcoin...
Read more >
Client-side block filtering - Bitcoin Wiki
The protocol works by having filters created that contains all the addresses for every transaction in a block.
Read more >
Kalima Client Side Smart Contract Now ... - Bitcoin.com News
Kalima Client Side Smart Contract Now Capable to Execute Lightning Transactions · The Bitcoin blockchain is used to manage and guarantee property ...
Read more >
Kalima Client-side Smart Contracts for Bitcoin and Lightning ...
Kalima Client-side Smart Contracts for Bitcoin and Lightning Network ... Bitcoin Taproot upgrade made BTC transactions more secure, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found