iotaledger / iotaledger/evm-toolkit

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

Open
#48 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
5
Forks
7
PR merge metrics
No merged PRs in 30d

Description

### Bug description

Using address with wrong bech32 is not shown as error to the user
![image](https://github.com/user-attachments/assets/15c42012-25ef-4b39-a2b4-6120cbffd1a0)

### 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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.