Closed mraveux closed 1 year ago
Removed ethers
dependency and now implemented isEthAddress
and isEthChecksumAddress
directly into the component and only importing the crypto-js dependency for the sha3
function, and only when a potential checksum address is detected.
Let me know @sisou if that's good for you 😉
Please also remove the patch-package
and postinstall
dependencies as they are now unused.
This PR add support for ETH address into the AddressInput components, and allow one to restrict the component to only accept ETH or NIM addresses. (It also update the transifex config to support the new client)