bolt12: adding support for `fetch_invoice` outbound hook

Open
#339 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
rust
Domain
api, backend

Research direction

Start by reading the preexisting hooks in Greenlight and the Core Lightning implementation referenced in ElementsProject/lightning#6933. Trace how incoming and outgoing onion messages are handled, then define what “fetch_invoice” support must intercept and how completion will be verified.

Written by the indexing model from the issue text.

Description

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

Dominant language
Rust
Stars
148
Forks
49
Avg merge
4d 5h
Merged PRs (30d)
9

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Blockstream/greenlight

All issues in Blockstream/greenlight

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.