Skip to content

peaqnetwork/x402-peaq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

Use the following guide and repository to be able to:

  1. Create a Facilitator.
  2. Execute machine-to-machine x402 payments for a privileged data response.
  3. Execute human-to-api frontend interaction and trigger x402 payment for a privileged data response.

Getting Started

git clone https://github.com/peaqnetwork/x402-peaq.git
cd x402-peaq

The repository is setup in the following way:

x402-peaq/
  facilitator/
  resource-server/

The facilitator allows you to run an optional verifier, and the resource-server gives examples of machine-to-machine and human-to-api x402 flows.

Assumptions

In the following examples we assume all participating wallets has native peaq token for gas and USDC/USDT for payment.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •