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

feat: add rpc-get-xpub method #5203

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open

feat: add rpc-get-xpub method #5203

wants to merge 1 commit into from

Conversation

kyranjamie
Copy link
Collaborator

@kyranjamie kyranjamie commented Apr 10, 2024

Try out Leather build 5fbb877Extension build, Test report, Storybook, Chromatic

Clone of xpub pr

origin,
onUserApproveGetXpub() {
if (!tabId || !origin) {
logger.error('Cannot give app accounts: missing tabId, origin');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This logged error doesn't seem to have the right message, was this just copied?

@fbwoolf
Copy link
Contributor

fbwoolf commented Apr 15, 2024

Adding link to original PR here for ref: #4958

Copy link
Contributor

@fbwoolf fbwoolf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code here looks good, the UX on this should still stay as just Connect Leather with no indication that the xpub is being requested?

@kyranjamie
Copy link
Collaborator Author

cc/ @mica000 @fabric-8 @markmhendrickson

This is a good point to raise. Currently the UI for this looks the same, but we should explain to the user what sharing their xpub means.

@markmhendrickson
Copy link
Collaborator

This is a new API, and not additional functionality for getAddresses, correct?

Let's capture in the APIs database in Notion and design an approval UX for this particular request, since I agree we need to indicate clearly what it means to the user.

@markmhendrickson markmhendrickson added this to the Redesign approval UX milestone Apr 22, 2024
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 this pull request may close these issues.

None yet

4 participants