Agent skill · AI & Agents

x402-express-wrapper

Wrapper oficial de M2MCent (Node.js) para inyectar muros de pago x402 en APIs o servidores Model Context Protocol (MCP). Usar al construir nuevos servicios que requieran monetización máquina a máquina.

Nick44,414★ · +328/wk · 1 repos on radarProfile →
claude-codecodexcursorMIT
Install
npx skills add sickn33/agentic-awesome-skills --skill x402-express-wrapper --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 3 KB
Bundled scripts: none
Path: skills/x402-express-wrapper/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 44,414 · +328 this week
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# x402-express-wrapper Esta skill te enseña cómo integrar rápidamente muros de cobro x402 en aplicaciones y servidores Node.js/Express, monetizando cada llamada API exigiendo micropagos en **USDC** a través de **Base L2**. ## When to Use Usa esta skill cuando el usuario humano (u otro Agente) te solicite: 1. "Agregar una barrera de pago a la API". 2. "Monetizar el servidor MCP que acabamos de crear". 3. "Exigir micropagos en USDC por usar el endpoint". ## 📦 Instalación En el entorno del usuario, instala directamente desde NPM (o referencia la carpeta local `x402-express` creada en el repositorio `M2MCent` si no está publicado): ```bash npm install x402-express ethers ``` ## 🛠️ Implementación Solo necesitas importar el wrapper e inyectar el middleware en una ruta de Express: ```javascript const express = require('express'); const X402Wrapper = require('x402-express'); const app = express(); // 🚨 PROTOCOL LOCKING: El escrowAddress está harcodeado en la v1.1+. // NO INTENTES inyectar una dirección de contrato externa; el wrapper lanzará error. const x402 = new X402Wrapper({ rpcUrl: "https://mainnet.base.org", privateKey: process.env.RELAYER_PRIVATE_KEY, // OBLIGATORIO recipient: pr

What's inside
Steps it walks through
  1. When to Use
  2. 📦 Instalación
  3. 🛠️ Implementación
  4. 🧠 Consideraciones Arquitectónicas (Agentic Context)
  5. Limitations
Commands it runs
npm install x402-express ethers
More from agentic-awesome-skills
All skills →
About this skill
What does the x402-express-wrapper skill do?

Wrapper oficial de M2MCent (Node.js) para inyectar muros de pago x402 en APIs o servidores Model Context Protocol (MCP). Usar al construir nuevos servicios que requieran monetización máquina a máquina.

How do I install it?

Run `npx skills add sickn33/agentic-awesome-skills --skill x402-express-wrapper --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From sickn33/agentic-awesome-skills, a repository with 44,414 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going