WalletConnect / walletconnect-monorepo

WalletConnect Monorepo
Apache License 2.0
1.35k stars 674 forks source link

[feature] close web wallet after receiving the response #4609

Open huckym opened 3 months ago

huckym commented 3 months ago

What problem does this new feature solve?

The UX of the web wallet currently goes like this: User triggers wallet action from the dapp -> dapp open wallet window in a new tab/window -> user takes action on the wallet window -> wallet shows confirmation and asks the user to return to the dapp and this is a not-so-slick UX

Describe the solution you'd like

Since web3modal opens the wallet window it has the ability to close it. If web3modal closes the wallet window on receiving the response (or error), it would result in a UX that would seem to automatically bring the user back to the dapp. The wallet window cannot close itself.

cc: @pedrouid

linear[bot] commented 3 months ago

APKT-607 [feature] close web wallet after receiving the response

linear[bot] commented 3 months ago

CR-56 [feature] close web wallet after receiving the response