-
Notifications
You must be signed in to change notification settings - Fork 146
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
feat: introduce getXpub RPC method #4958
base: dev
Are you sure you want to change the base?
Conversation
Thanks for the PR @vinlim If we're to allow users to get xpub, I wonder if this should just be exposed from the same API we have now, |
Thanks for the input @kyranjamie .
Exposing the xpub from the same Also, both BTCKit & WebBTC suggest that Looking forward to your thoughts on this approach. |
If leather wallet has multiple accounts, connect should ask which account to connect to |
@markmhendrickson looking to have this merged soon. Let us know how we can help to expedite the process |
@kyranjamie thoughts on the above comments for proceeding here? |
We're releasing this enhancement soon |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delay reviewing this work, we've been discussing it internally.
We're okay with this API, however before merging, it'd be great if you could:
- Format code per our linting standards, prettier, eslint etc
yarn lint
- Write automated tests using Playwright. See
tests/
folder for examples of how this is done
Hi @kyranjamie thanks for the feedback. As suggested, I've added a test and formatted code style per |
@vinlim I've pushed your PR here to let it run properly against our CI and there are many failures. Are you able to take a look at these? |
Hi @kyranjamie it seems I've imported the incorrect component that is resulting in the error. I've rectified it. Appreciate you'd try it again. |
Hello, just wondering what's the status on this? |
This PR introduces a new
getXpub
RPC method to facilitate easy access to the wallet's xpub, addressing the requirements outlined in issue #4785. This method enabled various use cases, such as accounting and non-custodial services, by allowing permissioned access to the xpub. It simplifies integration processes, improves user experience, and maintains security standards.Screen.Recording.2024-02-19.at.5.27.51.PM.mov