bitcoinjs / bolt11

A library for encoding and decoding lightning network payment requests as defined in BOLT #11.
MIT License
92 stars 64 forks source link

Update bitcoinjs-lib dependency to the latest version (from v3.3.1 to v6.0) #52

Closed motorina0 closed 2 years ago

motorina0 commented 2 years ago

Currently bolt11 uses bitcoinjs-lib v3.3.1. This is a very old version.

The API used from bitcoinjs-lib is:

Please let me know if it is OK to:

If yes, then I will open a PR with the changes.

junderw commented 2 years ago

This can also allow fallback address to be segwit v1 as well, and remove the dependency on tiny-secp256k1.

Yes this would be a good change I think.