harmony-one / ethhmy-bridge.frontend

Ethereum<>Harmony two way bridge (trusted version) - frontend part
25 stars 62 forks source link

Disallow entering ONE address in place of Hex address (ETH/BSC) #110

Closed gupadhyaya closed 3 years ago

gupadhyaya commented 3 years ago

When bridging from Harmony to ETH (Harmony to BSC), the recipient input field must be limited to hex address only. Currently it allows entering one address and automatically converts to hex address. This is dangerous. The bridged tokens may end up in hex addresses (on ETH or BSC) for which the user does not hold the access. Note that, harmony decodes hex address using a different derivation path (from mnemonic) than what ethereum does or other blockchain does.

Screen Shot 2021-04-02 at 10 54 24 AM
potvik commented 3 years ago

Done