EIP-5792 Batch Transaction Spport
Open
Nobody has claimed this yet.
feature
new issue
- Dominant language
- TypeScript
- Stars
- 536
- Forks
- 496
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 9
Description
For actions requiring ERC-20 token approval, integrate batch approval using 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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the EIP-5792 specification and the referenced app/actions/BatchSupply.tsx example, then trace the listed approval-requiring actions in the interface. Implement wallet compatibility state per chainId and integrate batch approval for Supply, Repay, Repay With Collateral, Collateral Swap, Debt Swap, Withdraw & Swap, Stake, and Swap.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- blockchain, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100