iotaledger / evm-toolkit

EVM Toolkit is a frontend offering user friendly interaction with a L2 ISC chain, including Faucet and Withdrawal from a L2 chain
Apache License 2.0
5 stars 6 forks source link

[Bug]: wrong bech32 only logged in console, but still accepted #48

Open Thoralf-M opened 3 months ago

Thoralf-M commented 3 months ago

Bug description

Using address with wrong bech32 is not shown as error to the user image

Expected behavior

The address field should probably red and the error should be displayed somewhere and it shouldn't be possible to send funds to an address with wrong hrp

Can the issue reliably be reproduced?

Yes

Example repository

No response

Steps to reproduce

Open https://evm-toolkit.evm.shimmer.network/, insert an address with iota bech32 hrp address

Language

Node.js

Language Version

https://evm-toolkit.evm.shimmer.network/

Version

https://evm-toolkit.evm.shimmer.network/

Hardware specifications

No response

Additional info

No response