Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

x402 File Server

This is a simple implementation of the x402 protocol. This can be furthier add to the Open source bounty project MergeMintto add the agentic PR solving feature as planned in the initial planning of that project.

Getting Started

Prerequisites

  • Base Sepolia ETH and base Sepolia usdc

Configuration

  1. Clone the repository.
  2. Install dependencies: npm install
  3. Rename .env.example to .env.
  4. Provide the environment values:
    • PAYEE_ADDRESS=0x... (Where the money goes)
    • CLIENT_PRIVATE_KEY=0x... (Your dev wallet paying for the test script)

Running tests

Open one terminal and boot the server: npm start

Open a second terminal and trigger the auto-client sequence: node src/client.js

Watch the transaction automatically resolve locally!

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages