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

add prd of WallectConnect general component #330

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

Sven-TBD
Copy link
Contributor

@Sven-TBD Sven-TBD commented May 30, 2023

Add PRD of WallectConnect general component. Pls check ~ @Keith-CY @Danie0918

Copy link
Contributor

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.

Copy link
Contributor Author

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

Comment on lines 15 to 25
#### 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)
Copy link
Member

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

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.

3 participants