uniswap-pay-with-any-token
OfficialPay HTTP 402 challenges with any token via Uniswap
Authorokx
Version1.0.0
Installs0
System Documentation
What problem does it solve?
HTTP 402 Payment Required responses block API access until a token payment is made. Users must manually identify a suitable token, obtain a swap quote, execute the swap on Uniswap, and then settle the payment with Tempo, which is time‑consuming and error‑prone.
Core Features & Use Cases
- Automatic Token Swap: Converts any ERC‑20 token in the user's wallet to the required payment token via the Uniswap Trading API.
- Seamless Payment Execution: Uses the Tempo CLI to complete MPP or x402 payments after the swap, handling cross‑chain bridging when needed.
- Use Case: An AI agent encounters a 402 response from a DeFi data service; the skill automatically swaps the agent’s native token and pays the fee, allowing the workflow to continue without manual intervention.
Quick Start
Ask the assistant to settle the pending HTTP 402 payment using any token from your wallet.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: uniswap-pay-with-any-token Download link: https://github.com/okx/plugin-store/archive/main.zip#uniswap-pay-with-any-token Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.