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

Feature Request: Can the xPub of the on-chain wallet be retrieved with an API? #4678

Closed
saubyk opened this issue Oct 7, 2020 · 2 comments
Closed
Labels
feature request Requests for new features security General label for issues/PRs related to the security of the software

Comments

@saubyk
Copy link
Collaborator

saubyk commented Oct 7, 2020

Is it possible to retrieve the xPub of the on-chain wallet?

  • This can help simplify fund management on implementations like BTCPayserver, where currently the Lightning implementations run as a separate hot wallet from the main one.
  • Enable other privacy improvements which BTCPayserver is interested in experimenting with (cc: @Kukks)
@gradientskier
Copy link

This would be a very useful feature.

In the meantime, I built this tool to extract the xpub from an internal lnd node in a btcpayserver-docker deployment.

https://github.com/gradientskier/btcpayserver-docker/blob/f-lnd-derivation-scheme/Tools/python/get_internal_lnd_derivation_scheme.py

You can call the python script using this bash script that also installs the necessary tools.

https://github.com/gradientskier/btcpayserver-docker/blob/f-lnd-derivation-scheme/Tools/get_internal_lnd_derivation_scheme.sh

@Roasbeef
Copy link
Member

Implemented as of #5047

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Requests for new features security General label for issues/PRs related to the security of the software
Projects
None yet
Development

No branches or pull requests

4 participants