nimiq / vue-components

Vue component library for Nimiq ecosystem apps.
https://nimiq.github.io/vue-components/
Apache License 2.0
17 stars 4 forks source link

Add ETH address support into the AddressInput component #127

Closed mraveux closed 1 year ago

mraveux commented 1 year ago

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)

mraveux commented 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 😉

sisou commented 1 year ago

Please also remove the patch-package and postinstall dependencies as they are now unused.