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

I want to use `signInputHD` for a taproot script path spend but that will fail if I don't specify `bip32Derivation` [here](https://github.com/bitcoinjs/bitcoinjs-lib/blob/1f92ada3fda587c1c0a6aa93649afa04e8382b93/ts_src/psbt.ts#L1902). It is also not possible to use `inputHasHDKey` without...

- https://github.com/bitcoinjs/bitcoinjs-lib/issues/1966 mentions that current opcode is type-unsafe. Type safe version is considered as tricky and breaking change as it might function in a bit different way from it does...

ops.ts exports the list of opcodes as: ```ts const OPS: { [key: string]: number } ``` That's not a very safe type, as it permits access with any string key....

Since Buffer is a subclass of Uint8Array, is there any plans to migrate the library to use them to have native support in browsers without polyfills? https://nodejs.dev/en/api/v18/buffer/

### I don't know if creating a P2TR address like this is correct, and it won't be possible to sign in the end.Attached is my code. Could you please help...

Could you verify a signature using a public key and specified message content? Your help with this would be immensely appreciated.

In `v6.0.1` I was able to validate taproot addresses like this: ```ts import * as bitcoinjs from "bitcoinjs-lib"; const value = "bc1pxe5uh7cst3p3qzsuzng0r94uv0tn4wfzum2jflph0km6sjjjp5cqc4906u"; const isBitcoin = !!bitcoinjs.address.toOutputScript(value, bitcoinjs.networks.bitcoin); ``` I got...

Hello, I am getting following error while signing the input for Taproot. "typeError: Argument must be a Buffer". I like to inform that other BTC type is working like segwit,...