Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Batteries included for TypeScript bindings #102

Closed
gr0kchain opened this issue Jun 28, 2022 · 2 comments
Closed

Batteries included for TypeScript bindings #102

gr0kchain opened this issue Jun 28, 2022 · 2 comments

Comments

@gr0kchain
Copy link

gr0kchain commented Jun 28, 2022

Are the any intentions on creating the batteries helpers as seen for java for the TypeScript bindings?

https://github.com/lightningdevkit/ldk-garbagecollected/tree/main/src/main/java/org/ldk/batteries

@TheBlueMatt
Copy link
Collaborator

In general, yes, though maybe only the TCP mapping. I kinda regret the ChannelManagerConstructor utility that is in the Java batteries - it's overly-opinionated but still tries to be flexible and kinda fails at both.

@TheBlueMatt
Copy link
Collaborator

We now have a node-specific TCP mapping, which is most of what we can do here. I think it'd be cool to also support websocket connections directly in LDK and then map to websockets here, but that's much further off, and ultimately requires a TLS proxy as well. Once we expose the KVStore (lightningdevkit/ldk-c-bindings#90) I'm not sure what else is immediately doable here. Gonna close as completed even though there's some long-term ambitions, but we should open separate issues for that as things come up that would be helpful to you.

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

No branches or pull requests

2 participants