Skip to content
New issue

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

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

Already on GitHub? # to your account

Global backup phrase for importing multiple Lightning wallets #345

Open
redshark03 opened this issue Dec 25, 2021 · 1 comment
Open

Global backup phrase for importing multiple Lightning wallets #345

redshark03 opened this issue Dec 25, 2021 · 1 comment

Comments

@redshark03
Copy link

redshark03 commented Dec 25, 2021

Issue:
As a user I want to have multiple accounts on an instance, problem is I need to import and backup each wallet that I have separately.

solution:
have one global backup phrase to import or backup all associated wallets.

this would also allow for easier UX for for example a spending and saving wallet, or having multiple piggy banks for small savings with bigger purchases ect.

@xraid
Copy link
Contributor

xraid commented Dec 30, 2021

LndHub is built to serve multiuser BlueWallet's

When running a LndHub instance a global backup would return all wallets connected and that would violate privacy of connected users wallets.

When running as a single user on a LndHub instance i can see Your need, several ways solve it, but user / password is only visible in BlueWallet Client or other Clients that store the credentials, LndHub only verify user / password by stored hash, so a backup from LndHub to retrieve accounts is possible but DB do not have the user / password needed to access the accounts, where the clear(non hashed) credentials is needed.

In BlueWallet Client is where one would do a backup of credentials not at LndHub that only store "salted" credentials.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants