feat: add x402-data-feed skill - #26
Conversation
Teaches an agent to wire pay-per-call x402 API endpoints into Hummingbot as price/signal feeds via X402APIDataFeed (Apache-2.0), with a hard per-call USDC budget cap and gasless payments on Base.
|
@GTCC777 is attempting to deploy a commit to the Botcamp's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
Checking in on this one — since opening, the underlying network has kept maturing: settlement now live-verified on 9 networks (Base, Solana, XRPL/RLUSD, Polygon, Arbitrum, and more), ~950 endpoints carry standard agent discovery metadata (llms.txt / agent.json / openapi), and we've added deterministic pre-trade token-safety + exit-depth endpoints that pair naturally with bot execution — 'how much can actually be sold at 5% impact' is a useful pre-trade gate for any strategy touching thin pairs. Happy to rework the skill's structure to match any conventions you'd prefer, trim it down, or split it — just point me at what would make it mergeable. Thanks! |
…, Robinhood Chain pre-trade gate example
|
Congrats on v2.16 — Condor skill playbooks are exactly the direction this PR was written for. Updated the skill today for the release:
Happy to reshape any of this to fit the Condor skills format if the expected structure has evolved with 2.16. |
Adds an
x402-data-feedskill that shows an agent how to wire pay-per-call HTTP APIs into Hummingbot as price/signal feeds. It documents X402APIDataFeed (Apache-2.0), a drop-in sibling of the stockCustomAPIDataFeedthat answers x402 HTTP 402 challenges with gasless USDC payments on Base (EIP-3009) via the officialx402SDK, adding dottedjson_pathextraction and a hard per-call cap (max_price_usdc) so a repriced endpoint can never overspend the wallet. The SKILL.md covers install (two files +pip install "x402[evm,httpx]"), a worked funding-rate script strategy, cost math for choosingupdate_interval, and the safety properties — notably thatcheck_network()probes unpaid and treats a 402 as the liveness signal, so health checks never spend.Built by the team behind the PulseNetwork x402 catalog, but the feed works against any x402-payable endpoint. The component has been tested with real settled payments against live endpoints. Frontmatter follows the agentskills.io fields used by the other skills here, and the new skill passes
scripts/validate-skills.sh(the 3 reported errors are pre-existingcommandsfields in lp-agent/hummingbot/hummingbot-developer). Happy to adjust naming, structure, or scope to whatever fits the repo.