web3-onboard icon indicating copy to clipboard operation
web3-onboard copied to clipboard

[Feature]: Add Watch-Only input

Open nicodelatorre7 opened this issue 3 years ago • 1 comments

Is your request related to a problem?

No response

Feature Description

Is only an input field to put an address and in the app you are logged in with this address but obviously you can't deposit, withdraw or pay, you can see the balance for example.

You can see app.aave.com

Captura de pantalla 2023-02-01 a la(s) 14 27 33

Alternative Solutions

No response

Anything else?

No response

nicodelatorre7 avatar Feb 01 '23 17:02 nicodelatorre7

Chatted on discord about this but wanted to post here for tracking - This input doesn't really belongs as part of web3-onboard. The reasoning behind this decision is that onboard is used to abstract wallet providers for blockchain based interactions. Adding an input to add a wallet address would only provide further complexity for your application and would only be a pass through for web3onboard. An alternative approach for you could be an input with Track Wallet button and below that a Connect Wallet button. This may be better UX as well give clear delineation between the two actions.

Adamj1232 avatar Feb 01 '23 21:02 Adamj1232