interface icon indicating copy to clipboard operation
interface copied to clipboard

EIP-5792 Batch Transaction Spport

Open defispartan opened this issue 7 months ago • 0 comments

For actions requiring ERC-20 token approval, integrate batch approval using EIP-5792

https://eip.tools/eip/5792

  • [ ] Query wallet compatibilities and set global state whether wallet supports batch transactions per chainId
    "atomic": {
      "status": "supported"
    }

Actions requiring token approval:

  • [ ] Supply
  • [ ] Repay
  • [ ] Repay With Collateral
  • [ ] Collateral Swap
  • [ ] Debt Swap
  • [ ] Withdraw & Swap
  • [ ] Stake
  • [ ] Swap

Example batch transaction: https://github.com/defispartan/approve/blob/f88cc5980514acb08f130aa6bc88e986ae7a2d97/app/actions/BatchSupply.tsx

defispartan avatar May 30 '25 02:05 defispartan