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

Use Core Lightning with TCP instead of Unix socket file #303

Open
Kexkey opened this issue Jun 19, 2023 · 1 comment
Open

Use Core Lightning with TCP instead of Unix socket file #303

Kexkey opened this issue Jun 19, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@Kexkey
Copy link
Collaborator

Kexkey commented Jun 19, 2023

Currently, Cyphernode uses lightning-cli which needs to be local to the Unix socket file created by Core Lightning for its RPC. Unfortunately, this restriction forces CLN clients and CLN server to be on the same machine.

Let's set EXPOSE_TCP and use netcat (or the like) to access CLN remotely (instead of using lightning-cli) so that lightning deployment can be remote to the proxy and more distributed.

@Kexkey Kexkey added the enhancement New feature or request label Jun 19, 2023
@Kexkey
Copy link
Collaborator Author

Kexkey commented Jan 12, 2024

Let's use the built-in plugin clnrest for that. It works well. New CLN image (from v23.11.2) will have the required python libs to run it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant