MetaMask / snaps

Extend the functionality of MetaMask using Snaps
https://metamask.io/snaps/
Other
720 stars 553 forks source link

Address UI component limited to `0x` strings #2314

Closed Eligioo closed 1 day ago

Eligioo commented 5 months ago

The address UI component only accepts strings that start with "0x" followed by exactly 40 characters which can be any combination of hexadecimal digits (0-9, a-f, A-F). With the possibility now to support different chains other than Ethereum this feels limited as other coins display addresses in different formats.

Additionally the possibility for the address component to accept a second parameter where you can provide a SVG to override the icon displayed makes this component more flexible.

Farhoo commented 3 months ago

yes agree

Montoya commented 3 months ago

This is a known issue which we plan to address, thank you for sharing your feedback!

FrederikBolding commented 1 day ago

This will be addressed in an upcoming release, follow https://github.com/MetaMask/snaps/issues/2679 for updates.