bitcoinjs-lib icon indicating copy to clipboard operation
bitcoinjs-lib copied to clipboard

A javascript Bitcoin library for node.js and browsers.

Results 118 bitcoinjs-lib issues
Sort by recently updated
recently updated
newest added
trafficstars

While I was working on the taproot functionality, a couple of ideas came to me. One of them is for a `Shared UTXO` model that uses a `Stateful Tap-Tree`. I'm...

It should not be required to sort in any sort of order, but we should offer some sort of helper function to help out. ### Input: - an ordered list...

Start the conversation about what this interface should contain. Initially suggested by @tiero here: https://github.com/bitcoinjs/bitcoinjs-lib/pull/1742#issuecomment-1059258075

I want to ask/clarify if it is OK to add stricter validation rules for taproot addresses. For `witness v0` [it is checked](https://github.com/bitcoinjs/bitcoinjs-lib/blob/master/ts_src/address.ts#L157-L160) if the data has a length of `20`...

This will be a place to brainstorm ideas... Needs: 1. Tagged Hashes (maybe make a smaller separate package) 2. Taproot builder (can we wedge this into the existing Payments API???...

I sent a transaction to a new taproot address (bc1p...) and when i send back the amount from this new address, i received the error `"Witness program was passed an...

Given a private key (in Hex of WIF format) is there a way to get BitcoinJS to generate the corresponding Taproot (P2TR) address for that? I sortof extracted this from...

I just became aware of the "anti-klepto" protocol to protect against "chosen nonce" attacks. https://github.com/ElementsProject/secp256k1-zkp/blob/ed69ea79b429beae4260917e08fe60317d38ee8d/include/secp256k1_ecdsa_s2c.h#L100-L155 It looks like in the `tiny-secp256k1` library, `sign` takes an optional `e` parameter for additional...

Hello, Any plan to add support for [bip-370](https://github.com/bitcoin/bips/blob/master/bip-0370.mediawiki) (psbt v2) to this library?

feature

For PSBT signing, the [`witnessStackToScriptWitness`](https://github.com/bitcoinjs/bitcoinjs-lib/blob/f67aab371c1d47684b3c211643a39e8e0295b306/ts_src/psbt.ts#L1418) and [`witnessStackToScriptWitness`](https://github.com/bitcoinjs/bitcoinjs-lib/blob/master/test/integration/csv.spec.ts#L477) functions are useful for apps trying to spend from custom scripts. As it is not exported, it is being duplicated for the users...