<p>I am trying to use PSBT in a Bitcoin project.
The idea is to generate keys and sign transactions client-side.</p>
<p>I am already familiar with <code>bitcoinjs-lib</code> but I find the API rather complicated.
It would be great if I could use <code>bcoin</code> which is usually more clear and straight forward.</p>
<p>I checked the <code>bcoin</code> docs but I found no mention of PSBT.
Is there a way to use PSBT in <code>bcoin</code>?
If not, is there any elegant workaround?</p>

CC BY-SA 4.0
2020-09-21T20:18:39.763Z
Hey Mario, I reformatted a bit to structure the distinct thoughts into blocks and retitled the question, because I first thought that you were working on adding PSBT to bcoin, which from the text of your question doesn't seem to be the case. I also added some more tags to help people see the question that follow the corresponding topics. If I changed the intent of your question or misunderstood your intention, please rollback my edit or change it further to better fit your meaning.
Murch
CC BY-SA 4.0
2020-09-21T21:16:09.470Z
@Murch Thanks for having rephrased the question in a more clear way.
Mario Mazzola
<javascript><bitcoinjs><bcoin><bip174-psbt>
How can I use PSBT in a JavaScript project?
Mario Mazzola
# How can I use PSBT in a JavaScript project?

(Asked by: username_0 on 2020-09-21)

I am trying to use PSBT in a Bitcoin project.
The idea is to generate keys and sign transactions client-side.

I am already familiar with `bitcoinjs-lib` but I find the API rather complicated.
It would be great if I could use `bcoin` which is usually more clear and straight forward.

I checked the `bcoin` docs but I found no mention of PSBT.
Is there a way to use PSBT in `bcoin`?
If not, is there any elegant workaround?

**Tags:** javascript, bitcoinjs, bcoin, bip174-psbt

> **Comments:**
> **username_1**: Hey username_0, I reformatted a bit to structure the distinct thoughts into blocks and retitled the question, because I first thought that you were working on adding PSBT to bcoin, which from the text of your question doesn't seem to be the case. I also added some more tags to help people see the question that follow the corresponding topics. If I changed the intent of your question or misunderstood your intention, please rollback my edit or change it further to better fit your meaning.  
> **username_0**: @username_1 Thanks for having rephrased the question in a more clear way.  

---

## 0 answers

