Skip to main content

xrpl-mpp-middleware

Seller-side ASGI middleware for MPP 0.2 challenges and authenticated facilitator verification.

pip install xrpl-mpp-middleware

Public surfaces include PaymentMiddlewareASGI, require_payment(...), require_session(...), charge/session route specs, and the facilitator client. The middleware supports multiple challenges, Accept-Payment, request-digest binding, challenge-selected Payment-Authorization, request-body limits, and successful-response receipts.

Additional modules provide:

  • OpenAPI discovery draft-01 augmentation for charge and session;
  • immutable lifecycle hook events with bounded dispatch;
  • an explicit sanitized HTTPS relay for validated payment outcomes.

Discovery is advisory; runtime 402 terms are authoritative. Hooks and relay are optional application architecture, not MPP wire requirements. They reject or omit payment credentials, signed blobs, wallet secrets, and bearer tokens.

Documentation: https://lgcarrier.github.io/xrpl-mpp-stack/packages/middleware/

Metadata

Release files for xrpl-mpp-middleware 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xrpl-mpp-middleware 0.2.0
File Size Uploaded Provenance Actions
xrpl_mpp_middleware-0.2.0.tar.gz 26.2 kB With provenance Details for xrpl_mpp_middleware-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for xrpl-mpp-middleware 0.2.0
File Interpreter ABI Platform Actions
xrpl_mpp_middleware-0.2.0-py3-none-any.whl Python 3 none any Details for xrpl_mpp_middleware-0.2.0-py3-none-any.whl

Total release size: 56.7 kB

Release files / xrpl_mpp_middleware-0.2.0.tar.gz

Download URL xrpl_mpp_middleware-0.2.0.tar.gz
Size 26.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7304a82d4c0a7b089f3b341213df1fc6d0d20dab3576ea55e6ec5448dd0cbbc9
BLAKE2b-256 checksum
How to use checksums
e8bc2963e21e2e4399a9c093963119fca1895804ced0266a695e536b9b186dd9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 3, 2026.

Transparency log

Release files / xrpl_mpp_middleware-0.2.0-py3-none-any.whl

Download URL xrpl_mpp_middleware-0.2.0-py3-none-any.whl
Size 30.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
028ebe709e55fa38437ce53662bdedc64ee16fda2adb81de654d355f81ed281c
BLAKE2b-256 checksum
How to use checksums
ae00168cd9645f5e1e53c0708477fed0517369fb6ef9a93e25bf4a41531f4c4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 3, 2026.

Transparency log

Security for xrpl-mpp-middleware 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for xrpl_mpp_middleware-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 3, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page