pay-with-app

Community

Instantly settle X Layer 402 challenges via OKX APP.

Authornickthelegend
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill eliminates the complex manual work of paying HTTP 402 payment challenges from OKX's Agent Payments Protocol on X Layer, handling end-to-end workflow steps including wallet balance verification, cross-chain token funding, EIP-3009 signature generation, and payment settlement, so users don't have to navigate fragmented blockchain tooling to access X Layer APIs.

Core Features & Use Cases

  • X Layer 402 Challenge Processing: Automatically detects and processes x402 payment requirements specifically for X Layer (chain 196) from OKX's Agent Payments Protocol (APP), refusing unsupported schemes and non-X-Layer challenges.
  • Cross-Chain Funding Automation: Routes and bridges tokens from any supported chain to X Layer via the Uniswap Trading API if the user's wallet lacks the required asset (typically USDT0), with clear user confirmation gates for every transaction step.
  • Secure Zero-Gas Settlement: Generates compliant EIP-3009 TransferWithAuthorization signatures and submits them via the X-PAYMENT header, with settlement gas fully sponsored by OKX on X Layer. Use Case: If you are a developer building agentic tools or applications that interact with OKX-backed X Layer APIs returning 402 payment requirements, this Skill automates the entire payment flow so you can focus on core application logic instead of manual crypto payment operations.

Quick Start

Invoke the pay-with-app skill with a 402 challenge response from an X Layer API to automatically handle funding, signing, and payment settlement end-to-end.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: pay-with-app
Download link: https://github.com/nickthelegend/obolus-expo-app/archive/main.zip#pay-with-app

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 537,000+ vetted skills library on demand.