wootzapp / wootz-browser

Chromium fork for people to earn through data labeling.
GNU Affero General Public License v3.0
56 stars 34 forks source link

adds `Ethereum:` prefix to recipient, causing transaction error. #46

Closed AnandK-2024 closed 1 year ago

AnandK-2024 commented 1 year ago

When I scan a recipient address (Scan a recipient address using the wallet's QR code scanner.) for sending cryptocurrency using the web3 wallet, the wallet automatically adds the "Ethereum:"prefix to the address. This causes an error in the transaction -revert with(invalid address), and I need to manually remove the prefix each time in order to successfully send the cryptocurrency.

Expected Behavior

The web3 wallet should not automatically add the "Ethereum" prefix to the recipient address when scanning via QR code. The wallet should accept addresses in a standard format without any modifications.

Actual Behavior

The web3 wallet adds the "Ethereum" prefix to the recipient address automatically when scanning via QR code, causing an error in the transaction.

WhatsApp Image 2023-02-16 at 11 54 47

Recommendation

Create a separate user interface element, such as a text box or a dropdown menu, to display the currently connected blockchain network. This element would dynamically update based on the network selected by the user or automatically detected by the wallet.


"As a mentee(Winter of Blockchain), I am open to feedback on the codebase and eager to address any flaws with guidance. I'm committed to contributing to the project."

sandys commented 1 year ago

Thanks for the bug report. Can we discuss on discord? Please msg me on the discord server.

On Thu, Feb 16, 2023, 12:00 Anand Kumar @.***> wrote:

When I scan a recipient address (Scan a recipient address using the wallet's QR code scanner.) for sending cryptocurrency using the web3 wallet, the wallet automatically adds the "Ethereum:"prefix to the address. This causes an error in the transaction -revert with(invalid address), and I need to manually remove the prefix each time in order to successfully send the cryptocurrency. Expected Behavior

The web3 wallet should not automatically add the "Ethereum" prefix to the recipient address when scanning via QR code. The wallet should accept addresses in a standard format without any modifications. Actual Behavior

The web3 wallet adds the "Ethereum" prefix to the recipient address automatically when scanning via QR code, causing an error in the transaction.

[image: WhatsApp Image 2023-02-16 at 11 54 47] https://user-images.githubusercontent.com/82324643/219285607-332e8ee0-cef9-4553-8dbd-0ad320c588a2.jpeg Recommendation

Create a separate user interface element, such as a text box or a dropdown menu, to display the currently connected blockchain network. This element would dynamically update based on the network selected by the user or automatically detected by the wallet.

"As a mentee(Winter of Blockchain), I am open to feedback on the codebase and eager to address any flaws with guidance. I'm committed to contributing to the project."

— Reply to this email directly, view it on GitHub https://github.com/wootzapp/wootz-browser/issues/46, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAASYUYVM75X3QKFS7JAVWDWXXCP5ANCNFSM6AAAAAAU5X5ITY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

AnandK-2024 commented 1 year ago

Sure, thanks for the prompt reply.