-
Notifications
You must be signed in to change notification settings - Fork 2
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
add prd of WallectConnect general component #330
base: main
Are you sure you want to change the base?
Conversation
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.
While connecting, connecting by Walletconnec code should be disabled.
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.
Yes, and the WalletConnect code way should also be removed from the formal demo.
cc @Kirl70
#### Status1: Unconnected | ||
|
||
While the dapp is unconnected with the wallet, users can click on the button below to scan QR code on the dapp side in order to connect the dapp. | ||
|
||
![UnconnectStatus](pic/2023-05-30-08-19-27.png) | ||
|
||
#### Status2: Connecting | ||
|
||
After clicking the scan button, and if the QR code is correct then the dapp and wallet are trying to communicate following the protocol. If the QR code is not in correct format, corresponding messages will be popped up. | ||
|
||
![ConnectingStatus](pic/2023-05-30-08-22-37.png) |
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.
IMO, the status of disconnection and connecting is quite similar to account model of Ethereum because the interaction is the same:
1. connect wallet
2. waiting
3. show wallet/show error message
So the current UX of wallet connect can be used
Add PRD of WallectConnect general component. Pls check ~ @Keith-CY @Danie0918