EuroLedger XRPL is an open, testnet-first proof of concept for euro-denominated payment intents, XRPL payment detection, merchant webhooks and WooCommerce checkout integration.
The project explores how the XRP Ledger can be used as an open technical settlement layer while keeping the merchant and customer experience centered around euro-denominated payments and reconciliation.
Status: proof of concept, local development and XRPL testnet validation. Not production financial infrastructure.
EuroLedger XRPL currently provides:
- a FastAPI backend for merchant-scoped payment intents;
- idempotent payment intent creation and lifecycle management;
- XRPL testnet payment detection using references and memos;
- payment intent expiration and cancellation flows;
- merchant API key authentication;
- merchant webhook endpoint management;
- signed webhook delivery with retry and delivery tracking;
- worker health and Prometheus metrics;
- Grafana, Prometheus and Alertmanager observability examples;
- n8n alerting workflows for Telegram notifications;
- a WooCommerce payment gateway supporting classic checkout and Checkout Blocks;
- merchant-facing WooCommerce installation documentation;
- release packaging workflow for the WooCommerce plugin.
EuroLedger XRPL is not:
- a cryptocurrency investment product;
- a stablecoin issuer;
- a custody service;
- a regulated financial service;
- a replacement for the euro or a digital euro;
- a recommendation to buy, sell or hold XRP.
See Legal disclaimer and Scope.
flowchart LR
Merchant[Merchant / Store] --> Woo[WooCommerce Gateway]
Merchant --> APIClient[Merchant API Client]
Woo --> Backend[EuroLedger XRPL Backend API]
APIClient --> Backend
Backend --> DB[(PostgreSQL)]
Backend --> Dashboard[Payment Intent Dashboard]
XRPLWorker[XRPL Worker] --> XRPL[XRPL Testnet]
XRPLWorker --> Backend
XRPLWorker --> DB
Expirer[Payment Intent Expirer] --> DB
WebhookWorker[Webhook Delivery Worker] --> DB
WebhookWorker --> MerchantWebhook[Merchant Webhook Endpoint]
Backend --> Metrics[Prometheus Metrics]
XRPLWorker --> Metrics
WebhookWorker --> Metrics
Expirer --> Metrics
Metrics --> Grafana[Grafana]
Metrics --> Alertmanager[Alertmanager]
Alertmanager --> N8N[n8n / Telegram]
sequenceDiagram
participant Customer
participant Store as WooCommerce Store
participant Gateway as EuroLedger Gateway
participant API as EuroLedger Backend
participant XRPL as XRPL Testnet
participant Worker as XRPL Worker
participant Webhook as Webhook Worker
Customer->>Store: Place order
Store->>Gateway: Process payment
Gateway->>API: Create payment intent
API-->>Gateway: Payment intent + reference
Gateway-->>Store: Order on-hold
Customer->>XRPL: Send payment with reference
Worker->>XRPL: Scan account transactions
Worker->>API: Confirm detected payment
API->>Webhook: Queue merchant event
Webhook->>Store: Deliver signed webhook
Store-->>Customer: Order processing
automation/n8n/ n8n workflow exports for alert routing
backend/ FastAPI application, models, migrations, workers and tests
docs/ Project, operations, webhook, WooCommerce and release docs
examples/ Standalone webhook receiver examples
observability/ Prometheus, Grafana and Alertmanager configuration
plugin-woocommerce/ WooCommerce gateway plugin and local dev environment
scripts/dev/ Development and packaging helper scripts
sdk/ Reserved for future SDKs
tests/ Reserved for future top-level tests
worker/ Reserved for future worker split-out
From the repository root:
docker compose up --build -dCheck the backend:
curl http://localhost:8000/healthRun backend quality checks:
docker compose exec backend ruff check app tests
docker compose exec backend ruff format --check app tests
docker compose exec backend pytestFor backend-specific commands, see Backend README.
The WooCommerce gateway lives in:
plugin-woocommerce/euroledger-xrpl-gateway/
Current documented plugin release: 0.1.3.
It supports:
- classic WooCommerce checkout;
- WooCommerce Checkout Blocks;
- EuroLedger payment intent creation;
- signed webhook updates from EuroLedger;
- order metadata and admin visibility;
- local smoke and end-to-end validation scripts;
- distributable ZIP packaging.
Start with:
- WooCommerce integration README
- Gateway plugin README
- Merchant installation guide
- Checkout Blocks documentation
- WooCommerce gateway 0.1.3 release notes
The documentation entry point is:
Key documents:
The repository includes local examples for:
- Prometheus metrics scraping;
- Grafana dashboards;
- Alertmanager routing;
- n8n workflows for Telegram alert delivery.
Start with:
Release documentation currently focuses on the WooCommerce gateway:
Generated release ZIPs belong in dist/, which is intentionally ignored by Git.
This project is licensed under the terms included in LICENSE.