Skip to content

Frontend - web3 crashes when logged in into wrong chain #34

Description

@nichoio

ERC20 address is hard coded into frontend code.
if user uses different chain, it will fail trying to access that address with the given ERC20 ABI.
there's probably no other solution other than catching that exception and replacing it with alert or something similar

Btw the backend could serve the correct path to token by using template variables.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions