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 support of xdefi wallet #134

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

Conversation

hinterlist
Copy link

Add support of XDEFI Wallet

Screenshot 2022-03-17 at 14 58 28

I'd recommend to migrate to wallet-provider which out of the box allow to identify installed and recommended wallets and better handle targeted connection. With current approach when user will try to connect to Terra Station and in case if user has XDEFI Wallet and Terra Station, both will popup.


await login({
user: {
address: result.address,
Copy link
Contributor

Choose a reason for hiding this comment

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

@dimitrykislichenko it doesn't work for me,
with the Prioritise XDEFI wallet option enabled i receive an error in this line:

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'address')
    at onClickXDEFIExtension (index.tsx:65:1)

without the prioritise option it doesn't detect the wallet

Copy link
Contributor

Choose a reason for hiding this comment

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

sorry I made the comment some time ago, now it detect the extension without the prioritise option.
But it is still throwing the Cannot read properties of undefined (reading 'address') error

Copy link

Choose a reason for hiding this comment

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

Manage your work-related matters with patience.
Sometimes the problem is not the program and the solution is waiting

Copy link
Contributor

Choose a reason for hiding this comment

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

What?? 🤔

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.

2 participants