Closed Softdev1 closed 2 weeks ago
https://www.figma.com/design/l3Jdhi241tWzlGS6DJoTdo/IQ-GPT?node-id=9418-141724&t=X56rs164qcCCkUpH-11
Figma link
https://www.figma.com/design/l3Jdhi241tWzlGS6DJoTdo/IQ-GPT?node-id=9418-141724&t=X56rs164qcCCkUpH-11
Solution
- I changed the positions for the "copy, refresh and etherscan" buttons and added a wallet icon on the right.
- I have also implemented a method to identify user addresses based on their connection type. If the user is connected via MetaMask (or other similar wallets), or if they used Magic Wallet (social IDs), clicking on the wallet icon will open the corresponding wallet. Specifically, it will open Magic Wallet for users connected through it, or the respective wallet for those who connected using MetaMask or similar options.
Image
![]()
Tooltip
- I added a tooltip for when users hover on the wallet icon so that they can understand it's function.
We can have it conditionally render if magic is detected, as regular wallet balances are there anyway.
Description
Right now, there is no way for the user to access the wallet functionality. The magic wallet will likely just require calling a method, so it should be very simple to implement. A button will need to be created to check if the user is logged in using magic (email, socials), and then display the wallet accordingly. here is the link to help to call the method to be used https://magic.link/docs/wallets/customization/widget-ui