Add 0x-mpp and 0x-x402 keyless swap skills#1
Open
jlin27 wants to merge 1 commit into
Open
Conversation
Two new skills for accessing 0x Swap API without an API key via AgentPay: - 0x-mpp: pays per request in pathUSD on Tempo Testnet via mppx - 0x-x402: pays per request in USDC on Base Sepolia via @x402/fetch Each skill links to its reference test repo and cross-links the other.
Collaborator
Author
|
need to update to mainnet |
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.
Summary
Adds two new skills for accessing 0x Swap API without an API key, using AgentPay as the payment proxy:
0x-mpp— pays per request in pathUSD on Tempo Testnet (chainId 42431) viamppx+viem0x-x402— pays per request in USDC on Base Sepolia (chainId 84532) via@x402/fetch+@x402/evmBoth expose the same two endpoints (
swap-allowance-holder-priceandswap-allowance-holder-quote) with the 0x API key injected server-side by AgentPay. Callers only need a funded wallet.Reference implementations
Related
pay-with-any-tokenskill pattern but using 0x as the swap provider0x-apiskill (which requires an API key)