Skip to main content

FastAPI facilitator service for XRPL-backed x402 payments

Project description

xrpl-x402-facilitator

xrpl-x402-facilitator is the FastAPI verifier/settler service in the Open XRPL x402 Stack.

Install

pip install xrpl-x402-facilitator

Run

The CLI starts xrpl_x402_facilitator.main:app:

export MY_DESTINATION_ADDRESS=rPT1Sjq2YGrBMTttX4GZHjKu9dyfzbpAYe
export FACILITATOR_BEARER_TOKEN=replace-with-your-token
export REDIS_URL=redis://127.0.0.1:6379/0
xrpl-x402-facilitator --host 127.0.0.1 --port 8000

Minimal import surface:

from xrpl_x402_facilitator import create_app

app = create_app()

Stable HTTP Contract

  • GET /health
  • GET /supported
  • POST /verify
  • POST /settle

Public API

  • create_app(...)
  • xrpl_x402_facilitator.main:app
  • xrpl-x402-facilitator

Compatibility

  • Python 3.12
  • xrpl-py==4.0.0
  • Default network is xrpl:0; local demos commonly target xrpl:1
  • x402 is not required to run the facilitator service

Provenance

The implementation is independently developed for the open x402 protocol and does not copy x402-xrpl.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xrpl_x402_facilitator-0.1.0.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xrpl_x402_facilitator-0.1.0-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

Details for the file xrpl_x402_facilitator-0.1.0.tar.gz.

File metadata

  • Download URL: xrpl_x402_facilitator-0.1.0.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for xrpl_x402_facilitator-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d7cb140be4e06a8ce2cba36426f6aa74d99e66837116e0ff4c5e981a10ffb067
MD5 11264618c16d8adfe602d6ccb4dc17b2
BLAKE2b-256 428c1de0360ddd88e6c19e3b1eac6d66f057d8668860d9b644c88caf215be58d

See more details on using hashes here.

Provenance

The following attestation bundles were made for xrpl_x402_facilitator-0.1.0.tar.gz:

Publisher: publish-package.yml on lgcarrier/xrpl-x402-stack

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file xrpl_x402_facilitator-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for xrpl_x402_facilitator-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3ce3521b3cea97f8f76b643fad1468f11d34cc563f062e4731656b7e1c556b55
MD5 8fc25bd8352d998d7098aea216ac18d2
BLAKE2b-256 44520b8b50e02c521f3c416443b2ac9c7c118d7c68fce6dcb3b51712354a3ac9

See more details on using hashes here.

Provenance

The following attestation bundles were made for xrpl_x402_facilitator-0.1.0-py3-none-any.whl:

Publisher: publish-package.yml on lgcarrier/xrpl-x402-stack

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page