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

Connecting to local CLN node without proxy #3155

Open
sha-265 opened this issue May 21, 2024 · 5 comments
Open

Connecting to local CLN node without proxy #3155

sha-265 opened this issue May 21, 2024 · 5 comments
Labels
idea A feature idea that needs to be more specification

Comments

@sha-265
Copy link

sha-265 commented May 21, 2024

Feature description

I want to be able to connect to my local CLN node

Describe the solution

probably should be connecting via CLNRest or JSON-RPC

Describe alternatives

No response

Additional context

No response

Are you working on this?

None

@sha-265 sha-265 added the idea A feature idea that needs to be more specification label May 21, 2024
@reneaaron reneaaron changed the title Conncecting to local CLN node without proxy Connecting to local CLN node without proxy May 21, 2024
@reneaaron
Copy link
Contributor

Thanks for your feedback!

Couldn't you also use commando for your local instance? Do you mind to explain why you prefer CLNRest over commando?

@sha-265
Copy link
Author

sha-265 commented May 21, 2024

I don't care using commando, but I don't want to use it over a proxy, but locally. I tried to do so, but it didn't work.

@reneaaron
Copy link
Contributor

There are currently no plans to implement CLNRest, however you could run your own proxy alongside your node if you want to do so.

https://github.com/getAlby/lnsocket-proxy

@sha-265
Copy link
Author

sha-265 commented May 22, 2024

Is there an option to skip this proxy and connect directly to the node's commando?

@reneaaron
Copy link
Contributor

In a browser we can only communicate with websockets (which lnsocket-proxy provides) compared to the native RPC calls commando offers, so I don't think there is a way to do so unfortunately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
idea A feature idea that needs to be more specification
Projects
None yet
Development

No branches or pull requests

2 participants