scp-light

Official

Auto-pay 402 URLs via hub routing.

AuthorKeychain-Inc
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Automates 402 URL payments by discovering offers, selecting an optimal hub route, and managing channel funding and payment submission in a single script.

Core Features & Use Cases

  • Offer discovery and hub-route selection to pay protected URLs without manual configuration.
  • Automatic channel funding and SCP signing ensures payments complete even when wallet balance is low.
  • Use case: Paying any HTTP 402-protected API by routing through a hub, with optional dry-run to test the flow.

Quick Start

Run the auto_402_hub_pay.js script against a target URL to automatically discover offers, select a hub route, fund the necessary channel, and complete the paid request.

Dependency Matrix

Required Modules

ethers

Components

scripts

đź’» 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: scp-light
Download link: https://github.com/Keychain-Inc/x402s/archive/main.zip#scp-light

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 471,000+ vetted skills library on demand.