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

BTCPayServer connection to CLN #3155

Closed
openoms opened this issue Jun 2, 2022 · 1 comment · Fixed by #3156
Closed

BTCPayServer connection to CLN #3155

openoms opened this issue Jun 2, 2022 · 1 comment · Fixed by #3156
Milestone

Comments

@openoms
Copy link
Collaborator

openoms commented Jun 2, 2022

Easy to do using the clues from the BTCPay Connect to a Lightning node page:
image

Make sure:

rpc-file-mode=0660

is in the clconf and CLN is restarted to apply.

Add the btcpay user the bitcoin group:

$ sudo usermod -a -G bitcoin btcpay

Check if the file is reachable by the btcpay user:

$ sudo -u btcpay ls -la  /home/bitcoin/.lightning/bitcoin/lightning-rpc
srw-rw---- 1 bitcoin bitcoin 0 May 28 18:57 /home/bitcoin/.lightning/bitcoin/lightning-rpc

Restart BTCPay:

sudo systemctl restart btcpayserver.service

Fill the Connection configuration for your custom Lightning node: box on the Connect to a Lightning node page with:

type=clightning;server=unix:///home/bitcoin/.lightning/bitcoin/lightning-rpc

and press the Test connection button to test.

image

@openoms
Copy link
Collaborator Author

openoms commented Jun 2, 2022

Will make an entry in the CONNECT menu with this to be done automatically.

@rootzoll rootzoll added this to the 1.8.0 Release milestone Jun 2, 2022
openoms added a commit to openoms/raspiblitz that referenced this issue Jun 2, 2022
openoms added a commit to openoms/raspiblitz that referenced this issue Jun 2, 2022
@rootzoll rootzoll added the final testing was fixed - needs testing label Jun 2, 2022
openoms added a commit to openoms/raspiblitz that referenced this issue Jun 2, 2022
openoms added a commit that referenced this issue Jun 2, 2022
* feat: add BTCPAY-CLN to CONNECT #3155

* docs: record CHANGES
@rootzoll rootzoll removed the final testing was fixed - needs testing label Jul 28, 2022
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 a pull request may close this issue.

2 participants