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/

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_middleware-0.2.0.tar.gz (26.2 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_middleware-0.2.0-py3-none-any.whl (30.5 kB view details)

Uploaded Python 3

File details

Details for the file xrpl_mpp_middleware-0.2.0.tar.gz.

File metadata

  • Download URL: xrpl_mpp_middleware-0.2.0.tar.gz
  • Upload date:
  • Size: 26.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for xrpl_mpp_middleware-0.2.0.tar.gz
Algorithm Hash digest
SHA256 7304a82d4c0a7b089f3b341213df1fc6d0d20dab3576ea55e6ec5448dd0cbbc9
MD5 b9f63d5c68770f3bec6d5007a47ba672
BLAKE2b-256 e8bc2963e21e2e4399a9c093963119fca1895804ced0266a695e536b9b186dd9

See more details on using hashes here.

Provenance

The following attestation bundles were made for xrpl_mpp_middleware-0.2.0.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_middleware-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for xrpl_mpp_middleware-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 028ebe709e55fa38437ce53662bdedc64ee16fda2adb81de654d355f81ed281c
MD5 18a799a194733c0eda89b8e94a4f8f21
BLAKE2b-256 ae00168cd9645f5e1e53c0708477fed0517369fb6ef9a93e25bf4a41531f4c4b

See more details on using hashes here.

Provenance

The following attestation bundles were made for xrpl_mpp_middleware-0.2.0-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.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 files

0.1.4

2 files

0.1.3

2 files

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