lambdaclass / lambdaclass/eth-agent
Expose transaction replacement (speed up/cancel) in AgentWallet
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 10
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Problem
While acceleration.ts exists in the protocol layer, AgentWallet doesn't expose methods to speed up or cancel pending transactions.
Recommendation
Add to AgentWallet:
speedUp(txHash, options?)- Replace with higher gascancel(txHash)- Replace with zero-value self-send- Track pending transactions for replacement
Use Cases
- Speed up stuck transactions during gas spikes
- Cancel unintended transactions before confirmation
Priority
Feature request
Contributor guide
No contributing guide indexed for this repository
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 by reading acceleration.ts in the protocol layer and locating the AgentWallet entry point. Trace how pending transactions are represented and determine how speedUp(txHash, options?) and cancel(txHash) should use the existing replacement behavior. Done means AgentWallet exposes both operations and tracks pending transactions for replacement.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- blockchain
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100