seeder-402
seeder-402
x402를 통해 Base에서 USDC로 구매자가 공급한 Hypercore/Hyperdrive 키를 복제하기 위한 HTTP/MCP 서비스입니다.
개요
seeder-402는 Base 네트워크에서 구매자가 공급한 Hypercore/Hyperdrive 키에 대한 접근 권한을 판매하는 상시 가동 복제 서비스를 구현합니다. 이 시스템은 퍼블리셔가 최대 50MB 번들을 7일 동안 호스팅할 수 있게 하면서, 24시간 디스커버리 키를 유지하고 임대 기반 접근 제어를 지원합니다.
Related MCP server: pyrimid
아키텍처
프로세스 2개, VPS 1개, 데이터베이스 1개:
[Agent] --HTTP 402 / MCP--> [api] --IPC/CLI--> [blind-peer]
|
[SQLite]api (Node 22+): x402 미들웨어, MCP 유료 도구, 임대 JWT/HMAC, 할당량, OpenAPI
blind-peer (Holepunch CLI): DHT, Corestore, 복제(결제 로직 없음)
SQLite: 임대, 결제, 상한(v1 전용)
시스템 상태
현재 마일스톤
M1 — 머니 스텁 (활성)
구현됨: 미결제 요청 → 402 Base Sepolia USDC
구현됨: 퍼실리테이터 검증+정산 → 200
{ ok: true }상태: 결제 인프라 준비 완료, blind-peer 대기 중
로드맵
전체 마일스톤 추적은 docs/ROADMAP.md를 참조하세요. 현재 초점: 프로덕션 준비를 위한 M7 (mainnet).
빠른 시작
전제 조건
# System dependencies
Node 22+
npm (or bun)
blind-peer-cli or blind-peering-cli
better-sqlite3 (npm)환경 설정
# Configure environment (never commit)
export NETWORK=eip155:84532 # Base Sepolia
export PAY_TO=0x... # Payment recipient
export FACILITATOR_URL=https://x402.org/facilitator
export LEASE_SECRET=... # JWT secret
export PEER_KEY=... # Blind-peer key
export STORE_PATH=/var/lib/seeder-402/corestore
export DB_PATH=/var/lib/seeder-402/leases.db
export MAX_KEYS=200
export MAX_BYTES_PER_KEY=52428800
export MAX_BODY_BYTES=52428800
export PRICE_SEED_USD=0.10
export PRICE_PIN_USD=0.20
export PRICE_HOUSE_USD=0.50
export PRICE_STATUS_USD=0.01실행
# Start blind-peer for DHT
blind-peer -s $STORE_PATH
# Start API
node dist/index.js
# or
bun tsx src/index.ts테스트
# Test unpaid request (should return 402)
curl -i https://HOST/v1/status?key=00..
# Test paid request (Sepolia)
Use @x402/fetch or CDP Payments MCP with test USDC문서
문서 | 용도 |
아키텍처 패턴, 모듈 구성, 확장 지침 | |
시스템 사양, 공개 API, 데이터 모델 | |
마일스톤 진행 상황, 향후 계획, 완료 항목 | |
운영 절차, 배포, 일반 작업 | |
데이터베이스 스키마, 구성, 데이터 흐름 패턴 |
프로젝트 구조
seeder-402/
├── AGENTS.md # Agent entry point, build/test commands, conventions
├── README.md # This file
├── docs/ # Canonical documentation
│ ├── FRAMEWORK.md
│ ├── SPEC.md
│ ├── ROADMAP.md
│ ├── PLAYBOOK.md
│ ├── DATA.md
│ └── context/ # Background and architectural context
├── milestones/ # Active and archived milestones
│ └── archive/ # Archived milestone artifacts
└── .omp/ # OhMyPi configuration
└── config.yml # Canonical project configurationOhMyPi 워크플로
omp
"Implement M1 only per ROADMAP.md and SPEC.md. Do not start M2."
After each M: run PLAYBOOK tests; commit; stop.참고: 이 저장소는 현재 M1(머니 스텁 전용) 상태입니다. M1 이후의 구현은 로드맵 진행 및 수익 신호가 있을 때까지 기다려야 합니다.
기여
OhMyPi 워크플로를 따르세요:
PR당 정확히 하나의 마일스톤을 구현합니다.
SPEC.md 요구 사항을 엄격히 준수합니다.
각 변경 후 PLAYBOOK.md 테스트를 실행합니다.
로드맵 승인 없이 지정된 마일스톤을 넘어 진행하지 않습니다.
현재 아키텍처를 유지합니다(마이크로서비스 없음, 핵심 DHT 로직 재구현 없음).
라이선스
아키텍처와 문서는 Apache 2.0에 따릅니다. 구현(생성 시)은 프로젝트 라이선스를 따릅니다.
이 저장소는 p2primitive collective가 유지 관리하며 엄격한 마일스톤 기반 개발 규율을 따릅니다.
프로젝트 구성
project_id: seeder-402
project_slug: seeder-402
mode: application # framework: library, application: runnable service
mechanical_tooling:
environment_manager: Node.js + npm (nodeenv)
fast_linter_formatter: Prettier + ESLint (auto-fixable)
pre_commit_framework: Husky
type_checker: TypeScript
milestones:
current: M1
target: M7
requirements:
node_version: "22.0.0"
base_network: eip155:8453 # Mainnet (production)
base_testnet: eip155:84532 # Base Sepolia (testing)Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Pay-per-query x402 business intelligence on Base, settled in USDC via the native 402 payment flow.
x402 paywall layer for creator sites and agents: paid content, pricing, reputation, ledger.
Official public-data caches sold per pull via x402/USDC on Base.
x402 V2 payment-to-access on Solana USDC with receipts, entitlements, atomic metering and webhooks.
Related MCP Servers
- AlicenseAqualityDmaintenanceMCP server for pay-per-call DeFi and crypto data via x402 micropayments on Base. 8 endpoints: token prices, TVL, funding rates, token security, gas tracker, whale monitoring, wallet profiling, and yield scanning.851MIT
- AlicenseNot gradedqualityFmaintenanceOnchain agent-to-agent commerce protocol using x402 and ERC-8004. Enables AI agents to buy/sell services, manage vendor catalogs, and process payments on Base.MIT
- AlicenseNot gradedqualityDmaintenanceDiscovers and queries x402-payable APIs at runtime — enables autonomous agents to find, evaluate, and pay for services via USDC micropayments on Base without API keys or subscriptions.MIT
- AlicenseNot gradedqualityCmaintenanceEnables web content extraction, reading, crawling, and pricing via MCP tools, with pay-per-fetch in USDC on Base using x402.3MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/bparlan/seeder-402'
If you have feedback or need assistance with the MCP directory API, please join our Discord server