Skip to content

bolt12: adding support for fetch_invoice outbound hook #339

Open

Description

@hydra-yse

The goal is to build atop the preexisting hooks and provide a method for Greenlight to intercept incoming and outgoing onion messages related to invoice generation and react accordingly.

Further details about the Core Lightning implementation of the hook can be found at ElementsProject/lightning#6933

Activity

  1. changed the title [-]bolt12: adding support for `onion_message_recv` hook[/-] [+]bolt12: adding support for `onion_message_recv` outbound hook[/+] on Dec 11, 2023
  2. changed the title [-]bolt12: adding support for `onion_message_recv` outbound hook[/-] [+]bolt12: adding support for `fetch_invoice` outbound hook[/+] on Dec 11, 2023
  3. legioz commented on Jul 21, 2025

    @legioz

    +1 for BOLT12 support! With CLN already production-ready for offers, bringing BOLT12 to Greenlight would unlock powerful UX improvements for recurring payments, donations, and privacy. It’s a key step to keep Greenlight aligned with the Lightning ecosystem’s evolution.

  4. cdecker commented on Jul 22, 2025

    @cdecker
    Collaborator

    Is the hook implemented in CLN? If not, that has to happen first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions