Skip to content

feat: add support of xdefi wallet#134

Open
hinterlist wants to merge 1 commit intoterra-money:mainfrom
hinterlist:feat/upgrade-wallet-provider
Open

feat: add support of xdefi wallet#134
hinterlist wants to merge 1 commit intoterra-money:mainfrom
hinterlist:feat/upgrade-wallet-provider

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.

@hanjukim hanjukim requested a review from alecande11 March 20, 2022 12:37
@hinterlist hinterlist force-pushed the feat/upgrade-wallet-provider branch from 950e720 to b918e56 Compare April 12, 2022 12:29

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