
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
@sei-js/coinbase-x402
Advanced tools
The official Coinbase facilitator package for the x402 Payment Protocol. This package provides direct access to Coinbase's hosted facilitator service, enabling seamless payment verification and settlement.
npm install @coinbase/x402
This package requires CDP API keys from the Coinbase Developer Platform:
CDP_API_KEY_ID
: Your CDP API key IDCDP_API_KEY_SECRET
: Your CDP API key secret// Option 1: Import the default facilitator config (assumes CDP_API_KEY_ID and CDP_API_KEY_SECRET environment variables)
import { facilitator } from "@coinbase/x402";
// Option 2: Create a custom facilitator config, passing in your credentials
import { createFacilitatorConfig } from "@coinbase/x402";
const facilitator = createFacilitatorConfig(
"your-cdp-api-key-id",
"your-cdp-api-key-secret"
);
// Use the facilitator config in your x402 integration
import express from "express";
import { paymentMiddleware } from "x402-express";
import { facilitator } from "@coinbase/x402";
const app = express();
app.use(paymentMiddleware(
"0xYourAddress",
{
"/protected": {
price: "$0.10",
network: "base-sepolia"
}
},
facilitator // Use Coinbase's facilitator
));
FAQs
x402 Payment Protocol
We found that @sei-js/coinbase-x402 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.