Skip to main content

FastAPI facilitator service for XRPL-backed MPP HTTP payments

Project description

xrpl-mpp-facilitator

FastAPI facilitator for XRPL-backed MPP HTTP payments.

Install

pip install xrpl-mpp-facilitator

Run

Set the core runtime variables first:

  • MY_DESTINATION_ADDRESS
  • FACILITATOR_BEARER_TOKEN
  • REDIS_URL
  • MPP_CHALLENGE_SECRET

Then start the service:

xrpl-mpp-facilitator --reload

Endpoints

  • GET /health
  • GET /supported
  • POST /charge
  • POST /session

The facilitator validates XRPL-signed payments, settles charge requests, and manages Redis-backed state for session.

Python App Factory

from xrpl_mpp_facilitator import create_app

app = create_app()

The default settings are loaded from environment variables, including .env when present.

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_mpp_facilitator-0.1.4.tar.gz (17.8 kB view details)

Uploaded Source

Built Distribution

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

xrpl_mpp_facilitator-0.1.4-py3-none-any.whl (22.8 kB view details)

Uploaded Python 3

File details

Details for the file xrpl_mpp_facilitator-0.1.4.tar.gz.

File metadata

  • Download URL: xrpl_mpp_facilitator-0.1.4.tar.gz
  • Upload date:
  • Size: 17.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for xrpl_mpp_facilitator-0.1.4.tar.gz
Algorithm Hash digest
SHA256 bb7a1422dc60018ca26b9d2fa095724e5cdc87bb9f630a13675a4aaf2949c0ce
MD5 8750841a07e911c3cc807f3d977e411a
BLAKE2b-256 ae37f837eb764fdfb3c08e68fd413ebe58058b1c86de48ccd3fdf024942266be

See more details on using hashes here.

Provenance

The following attestation bundles were made for xrpl_mpp_facilitator-0.1.4.tar.gz:

Publisher: publish-package.yml on lgcarrier/xrpl-mpp-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_mpp_facilitator-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for xrpl_mpp_facilitator-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 9e841c7aa6a2daab1fce10ef9d2946b07bd3e355573702152b6045e3cb44aaff
MD5 3823aefd871d72906feb5094d0fb1f01
BLAKE2b-256 8910f7c773d93416c0011cf257270655693abbfabb4a560db71f352120757858

See more details on using hashes here.

Provenance

The following attestation bundles were made for xrpl_mpp_facilitator-0.1.4-py3-none-any.whl:

Publisher: publish-package.yml on lgcarrier/xrpl-mpp-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