PaymentWatcher should support WebSocket subscriptions
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- typescript
Research direction
Start with the PaymentWatcher implementation and review dependency #21 for the available WebSocket support. Trace the existing 12-second polling behavior and determine how transport selection should preserve the current API; done means WebSocket log subscriptions work when available and HTTP-only connections still use polling.
Written by the indexing model from the issue text.
Description
Problem
Payment watcher uses polling every 12 seconds. With WebSocket, could use eth_subscribe for instant notifications.
Recommendation
- When WebSocket RPC is available, use log subscriptions
- Fall back to polling for HTTP-only connections
- Maintain same API regardless of transport
Benefits
- Instant payment notifications
- Reduced RPC usage
- Lower latency for payment-triggered actions
Priority
Feature request (depends on #21 WebSocket support)
- Dominant language
- TypeScript
- Stars
- 10
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
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.
More from lambdaclass/eth-agent
-
Difficulty 5/5 Over a week Newbie friendliness 10/100
lambdaclass/eth-agent#84 · 1 comment · 1 reaction ·
-
documentation
Difficulty 4/5 3-5 days Newbie friendliness 45/100
lambdaclass/eth-agent#47 ·
-
documentation
Difficulty 3/5 1-2 days Newbie friendliness 48/100
lambdaclass/eth-agent#46 ·
-
documentation
Difficulty 4/5 3-5 days Newbie friendliness 35/100
lambdaclass/eth-agent#45 ·
-
medium-priority testing
Difficulty 3/5 1-2 days Newbie friendliness 48/100
lambdaclass/eth-agent#44 ·
All issues in lambdaclass/eth-agent
Similar issues
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 76/100
-
code-quality refactoring
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
vercel/react-tweet#225 ·