ant-design-web3 icon indicating copy to clipboard operation
ant-design-web3 copied to clipboard

Address display type should be checksum not only lowercase

Open lxhyl opened this issue 1 year ago • 3 comments

Generally checksum is use to display Ethereum address in dApp. Like most popular dApp like UniSwap, Balancer, GMX...

There have a article to explain why Checksum is necessary.

https://medium.com/coinmonks/ethereum-checksummed-addresses-importance-and-implementation-eef74aa3ae18

lxhyl avatar Dec 23 '23 04:12 lxhyl

Good suggestion, how about add a new prop `checksumï½€ for it?

When checksum is true, check address and show error when address is not correct.

yutingzhao1991 avatar Dec 23 '23 05:12 yutingzhao1991

Cool. And i'm happy to do this if you don't have the time

lxhyl avatar Dec 26 '23 03:12 lxhyl

Cool. And i'm happy to do this if you don't have the time

Of course, you're welcome, but how to reflect the situation of an incorrect address in terms of style may require design support, which we can discuss further.

yutingzhao1991 avatar Dec 26 '23 04:12 yutingzhao1991