lightningdevkit / ldk-sample

Sample node implementation using LDK
Apache License 2.0
166 stars 94 forks source link

Expose start_ldk in a library? #105

Closed orbitalturtle closed 1 year ago

orbitalturtle commented 1 year ago

I'd like to use a pair of ldk nodes in an integration test and I found this project. I was thinking it would be nice for my purposes to add a lib.rs with the start_ldk function exposed to add the option of importing it directly into another rust project.

I'm wondering if this would be a welcome PR -- or if for some reason it isn't. Would be happy to contribute. :)

TheBlueMatt commented 1 year ago

You probably want to check out the ldk-node project, which should already do basically what you want.

TheBlueMatt commented 1 year ago

https://github.com/lightningdevkit/ldk-node

orbitalturtle commented 1 year ago

@TheBlueMatt ohh wonderful thanks