Add x402 top-up documentation#301
Open
mmurrs wants to merge 1 commit into
Open
Conversation
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
mmurrs
requested review from
Gajesh2007,
MC1823315,
MadelineAu,
NimaVaziri,
antojoseph and
solimander
as code owners
July 14, 2026 15:49
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Documents the x402 credit-purchase path that went live on prod (
billingapi.eigencloud.xyz) this week:docs/eigencompute/get-started/billing.md— new "Top up with x402" section: CLI usage (ecloud billing top-up --method x402), creator-pool vs per-app crediting, $5 minimum, no-gas-needed note, plus the raw HTTP endpoints (/.well-known/x402.jsondiscovery,POST /creators/{addr}/x402-credits,POST /apps/{addr}/x402-credits) so agents and third-party x402 clients can purchase credits programmatically.docs/eigencompute/reference/ecloud-cli/billing.md— fleshed out thetop-upcommand entry with the--method,--amount,--chain,--creator,--appflags (reference previously had no flags listed).Why
x402 purchasing shipped in ecloud-platform (PR #272 + #304 interop fix) and is now enabled on mainnet, but has zero user-facing docs. This gives users and agent builders enough to actually try it.
Verification
Flow verified end-to-end 2026-07-14: prod challenge + PAYMENT-REQUIRED header interop confirmed against
billingapi.eigencloud.xyz(Base mainnet, spec-compliant v2), and a full settlement ($5, HTTP 201, credits granted, on-chain tx confirmed) exercised viaecloud billing top-up --method x402against the dev host on Base Sepolia.🤖 Generated with Claude Code