Skip to content

RemsLabs/x402-analytics-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

x402 Analytics Examples

This repository contains practical examples demonstrating how to use x402-analytics with the x402 payment protocol.

🚀 Quick Start

Each example is self-contained and ready to run:

Buyer Examples

  • Basic Buyer - Simple client making paid requests with analytics

Seller Examples

  • Express Server - Express.js API with payment middleware and analytics

📋 Prerequisites

  • Node.js 18+ or Bun
  • A wallet for making payments (MetaMask, WalletConnect, CDP, etc.)

🛠️ Running Examples

  1. Choose an example and navigate to its directory:

    cd buyer-basic  # or seller-express
  2. Install dependencies:

    npm install
    # or
    bun install
  3. Run the example:

    npm run dev
    # or
    bun run dev

🔗 Related Packages

📚 Documentation

🤝 Contributing

Found a bug or want to add an example? Please open an issue or submit a pull request!

📄 License

MIT - see LICENSE for details.


Built for the x402 ecosystem - Making programmatic payments trackable and transparent. 🚀

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors