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

TODO: Make updates from AMP changes #30

Closed junderw closed 3 years ago

junderw commented 4 years ago

https://github.com/lightningnetwork/lightning-rfc/pull/643

This will break since it requires a new field as MUST.

Major version bump and README explanation will be needed... will look at the timeline of LND c-lightning and eclair to see when we should push this out.

alexbosworth commented 4 years ago

I made some JS methods to parse feature flags and the new payment identifier if that is helpful: https://github.com/alexbosworth/ln-service/blob/master/bolt11/parse_payment_request.js#L191