Skip to content

Add Lightning Core support to invoice_deserialization target #96

@erickcestari

Description

@erickcestari

We need to integrate Lightning Core BOLT11 invoice parsing into our existing invoice_deserialization target.

Technical Challenges

  • Lightning Core has a complex architecture with numerous interdependent modules
  • The project uses an extensive Makefile build system
  • Integration will require careful extraction of the relevant components

Proposed Solution

  1. Identify the specific BOLT11 invoice parsing modules in Lightning Core
  2. Create a new wrapper file that exposes only the necessary decode function from Lightning Core
  3. Copy the required dependencies and source files to our project
  4. Create a simplified Makefile that compiles only the necessary Lightning Core components and links them directly with our C++ code, leveraging C/C++ interoperability through extern "C" declarations

Metadata

Metadata

Assignees

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