Skip to content

X402 implementation on Somnia Network

PromiseGameFi/x402

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

24 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

X402 - Self-Sovereign Payment System

A payment infrastructure for AI services and digital content using HTTP 402 protocol with blockchain settlement.

๐Ÿ“ Project Structure

๐Ÿ”ง sdk/

Core X402 SDK with embedded wallet management, multi-chain support, and React frontend interface.

๐Ÿฆ facilitator-demo/

Complete demonstration of X402 facilitator workflow with servers, client examples, and testing interface.

๐ŸŽฎ minigame-example/

Treasure hunt game showing real-world X402 integration with paid API access.

๐Ÿš€ Quick Start

# SDK Development
cd sdk && npm install && npm run dev:frontend

# Facilitator Demo
cd facilitator-demo && node scripts/setup.js && node scripts/start-all.js

# Minigame Example
cd minigame-example && npm install && npm start

๐Ÿ“š Documentation

About

X402 implementation on Somnia Network

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published