Skip to content

Request only required amount for approval #5

@kdembler

Description

@kdembler

Before you can bridge from Base to Joystream, you first need to do ERC20 approval for the ArgoBridgeV1 contract to move tokens on your behalf. Currently, we ask the user to approve the max possible amount of tokens, which is not the best practice. Instead, the approval should be only for the amount that the user actually want to transfer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions