Open lxhyl opened 6 months ago
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.
Cool. And i'm happy to do this if you don't have the time
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.
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