Skip to content

Conversation

@cdecker
Copy link
Collaborator

@cdecker cdecker commented Aug 8, 2025

The goal here is to expose the wide interface (i.e., the Node stub and its methods broken out individually).

We use and extend msggen from the CLN project to generate the UDL file, and from there we then use the uniffi tooling to generate the library stubs.

Steps

  • Generate node stub
  • Generate method stubs
  • Generate Request structs
  • Generate Response structs

cdecker added 5 commits August 5, 2025 17:11
This sets up the UDL file generation, the Rust scaffolding generation,
and it also generates the type stubs. It is not fully functional yet,
but slowly getting there.

Next up is adding the conversion from UDL-defined object to grpc
variant, followed by a call to the generated grpc stub, and then fill
in the request and response struct types.
@cdecker cdecker closed this Nov 18, 2025
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.

2 participants