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

Change Bitcoin Connect to only boot when init function is called #210

Open
rolznz opened this issue Mar 21, 2024 · 0 comments
Open

Change Bitcoin Connect to only boot when init function is called #210

rolznz opened this issue Mar 21, 2024 · 0 comments
Labels

Comments

@rolznz
Copy link
Collaborator

rolznz commented Mar 21, 2024

Currently it boots automatically and tries to connect to the previously-connected wallet, which has some side effects (Causes the Alby extension unlock dialog to popup for example), which creates a poor experience for users who previously connected but have restarted their browser/computer since they last connected.

https://github.com/getAlby/bitcoin-connect/blob/master/src/state/boot.ts#L31

By moving this to be called by the init function, the app could boot when Bitcoin Connect is actually needed.

@rolznz rolznz added the v4 label Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant