telosnetwork / open-block-explorer

The Open Block Explorer (OBE) is the first open source block explorer that is designed to support all AntelopeIO-based blockchains.
https://explorer.telos.net
Apache License 2.0
27 stars 22 forks source link

WALLET - Connect External Wallets via a "Connect" widget #70

Open ramijames opened 2 years ago

ramijames commented 2 years ago

To be able to access a user's account information securely, we're going to allow a user to "attach" and "detach" accounts. This will happen through the "connect" button in the top-right of the page.

image image

Let's take a look at the dropdown itself. First, it has an empty state which new users will first encounter.

image

For the connected state, we will have a dropdown selector that has the following functionality:

image

The Detach account functionality (the X) only shows on hover.

The Attach an Account functionality opens the Attach an Account Modal.

Disconnect all removes all accounts, and should clear the local storage, leaving a clean reset state.

donnyquixotic commented 2 years ago

ON HOLD FOR UAL DISCUSSION