Skip to content

feat: add x402-data-feed skill - #26

Open
GTCC777 wants to merge 3 commits into
hummingbot:mainfrom
GTCC777:add-x402-data-feed-skill
Open

feat: add x402-data-feed skill#26
GTCC777 wants to merge 3 commits into
hummingbot:mainfrom
GTCC777:add-x402-data-feed-skill

Conversation

@GTCC777

@GTCC777 GTCC777 commented Jul 14, 2026

Copy link
Copy Markdown

Adds an x402-data-feed skill 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 stock CustomAPIDataFeed that answers x402 HTTP 402 challenges with gasless USDC payments on Base (EIP-3009) via the official x402 SDK, adding dotted json_path extraction 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 choosing update_interval, and the safety properties — notably that check_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-existing commands fields in lp-agent/hummingbot/hummingbot-developer). Happy to adjust naming, structure, or scope to whatever fits the repo.

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.
@vercel

vercel Bot commented Jul 14, 2026

Copy link
Copy Markdown

@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.

@GTCC777

GTCC777 commented Jul 27, 2026

Copy link
Copy Markdown
Author

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!

@GTCC777

GTCC777 commented Jul 31, 2026

Copy link
Copy Markdown
Author

Congrats on v2.16 — Condor skill playbooks are exactly the direction this PR was written for.

Updated the skill today for the release:

  • v2.16 compatibility (import-verified): X402APIDataFeed uses the same core imports as the stock CustomAPIDataFeed on the v2.16.0 tag (hummingbot.core.network_base, hummingbot.core.network_iterator), so it should drop in unchanged — happy to hear if anything moved under the hood.
  • hbot CLI: added usage notes — a budget-capped pay-per-call feed pairs naturally with the new headless CLI (hbot start --script x402_funding_signal_example.py, then hbot status --json); the bot only spends while it runs, and max_price_usdc bounds the worst case.
  • Robinhood Chain: with RH chain now in Gateway (Uniswap AMM/CLMM), the skill gained a runnable pre-trade safety-gate example — one $0.015 call returns a deterministic CLEAR / CAUTION / AVOID verdict (honeypot sell-simulation, buy/sell tax, owner privileges, LP lock, holder concentration) before a strategy places its first order on a fresh launchpad token.

Happy to reshape any of this to fit the Condor skills format if the expected structure has evolved with 2.16.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant