Skip to content

Refactor djed-sdk\src\djed\tradeUtils.js #77

@aniket866

Description

@aniket866

Issue

  • promiseTx uses Ethers.js sendTransaction, which is incompatible with Web3.js providers.

  • verifyTx checks the transaction receipt only once, causing failures on slow or congested networks.

  • UI fee is incorrectly unscaled, resulting in the fee being divided twice and producing wrong values.

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