sygmaprotocol / sygma-widget

Transfer widget for the sygmaprotocol
5 stars 2 forks source link

Wallet account selector #74

Closed mpetrunic closed 4 months ago

mpetrunic commented 5 months ago

Implementation details

Substrate doesn't have the same concept around single connected account like in ethereum. We should display all accounts from connected wallet and allow user to select from which he wants to send transaction.

Testing details

Acceptance Criteria

sweetpea22 commented 5 months ago
Screen Shot 2024-02-05 at 10 59 43 AM

hey. left modal keeps the width of the widget fixed. right modal makes the widget container flexible to the width of the address string. i'm happy with whatever you choose.

i took a lot of inspiration from the hydraDX selector UI. tell me what is not relevant/out of scope, ok? :)

within the account option:

let me know what to change, thank you

mpetrunic commented 5 months ago

For MVP I would not go into separate screens for selecting account. Lets keep it simple, just a dropdown with account name + address?