Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Bolt12Invoice #600

Closed
wants to merge 5 commits into from
Closed

Add Bolt12Invoice #600

wants to merge 5 commits into from

Conversation

thomash-acinq
Copy link
Member

@thomash-acinq thomash-acinq commented Feb 12, 2024

Adds types for Bolt 12 invoice.
PaymentRequest is now an interface that can be either a Bolt11Invoice (the old PaymentRequest) or a Bolt12Invoice.

Depends on #599

Create a new `NodeId` that can be either a public key or a compact node id (channel id and direction).
Because we don't have access to the network graph, we can't resolve compact node ids ourselves.
@thomash-acinq thomash-acinq mentioned this pull request Feb 16, 2024
@pm47 pm47 deleted the bolt12invoice branch October 18, 2024 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant