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 /healthGET /supportedPOST /verifyPOST /settle
Public API
create_app(...)xrpl_x402_facilitator.main:appxrpl-x402-facilitator
Compatibility
- Python
3.12 xrpl-py==4.0.0- Default network is
xrpl:0; local demos commonly targetxrpl:1 x402is 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d7cb140be4e06a8ce2cba36426f6aa74d99e66837116e0ff4c5e981a10ffb067
|
|
| MD5 |
11264618c16d8adfe602d6ccb4dc17b2
|
|
| BLAKE2b-256 |
428c1de0360ddd88e6c19e3b1eac6d66f057d8668860d9b644c88caf215be58d
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xrpl_x402_facilitator-0.1.0.tar.gz -
Subject digest:
d7cb140be4e06a8ce2cba36426f6aa74d99e66837116e0ff4c5e981a10ffb067 - Sigstore transparency entry: 1107651115
- Sigstore integration time:
-
Permalink:
lgcarrier/xrpl-x402-stack@02af097aeade32de5f932881c6b28aa1e045f733 -
Branch / Tag:
refs/tags/facilitator-v0.1.0 - Owner: https://github.com/lgcarrier
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-package.yml@02af097aeade32de5f932881c6b28aa1e045f733 -
Trigger Event:
push
-
Statement type:
File details
Details for the file xrpl_x402_facilitator-0.1.0-py3-none-any.whl.
File metadata
- Download URL: xrpl_x402_facilitator-0.1.0-py3-none-any.whl
- Upload date:
- Size: 16.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ce3521b3cea97f8f76b643fad1468f11d34cc563f062e4731656b7e1c556b55
|
|
| MD5 |
8fc25bd8352d998d7098aea216ac18d2
|
|
| BLAKE2b-256 |
44520b8b50e02c521f3c416443b2ac9c7c118d7c68fce6dcb3b51712354a3ac9
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xrpl_x402_facilitator-0.1.0-py3-none-any.whl -
Subject digest:
3ce3521b3cea97f8f76b643fad1468f11d34cc563f062e4731656b7e1c556b55 - Sigstore transparency entry: 1107651119
- Sigstore integration time:
-
Permalink:
lgcarrier/xrpl-x402-stack@02af097aeade32de5f932881c6b28aa1e045f733 -
Branch / Tag:
refs/tags/facilitator-v0.1.0 - Owner: https://github.com/lgcarrier
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-package.yml@02af097aeade32de5f932881c6b28aa1e045f733 -
Trigger Event:
push
-
Statement type: