Enterprise DEX Infrastructure for XRPL

Non-custodial. Deterministic. Production-ready.

Routing, quoting, and settlement infrastructure that wallets, fintechs, and institutions integrate instead of building from scratch.

What's Live Now
  • XRPL Validator — domain verified
  • Router Engine — 92%+ test coverage, zero data races
  • Real-time Indexer — AMM + orderbook state synced
  • Partner API — Q1 2026

What’s Shipped, Not Promised

LucenDEX is infrastructure-first: validator live, router shipped, indexer running.

92%+
Router Test Coverage
35
Validators in UNL
4,200+
Lines of Go
MIT
Open Source

Deployed Infrastructure, Not Slides

LucenDEX is built to be integrated, audited, and trusted by partners.

🟢

XRPL Validator (Live)

Domain-verified validator contributing to network consensus. Infrastructure details →

🟢

Router Engine (Complete)

Deterministic pathfinding with QuoteHash binding, replay prevention, and circuit breakers.

🟢

Real-time Indexer (Complete)

Streams AMM + orderbook state into PostgreSQL with TLS and audit logging.

🔜

Partner API (Q1 2026)

Ed25519 request signing, quotas, metering, and SLAs.

Deterministic Execution

blake2b-256 QuoteHash binds price, route, fees, and TTL. Execution must match or fail.

Enterprise Security

mTLS between services, strict validation, and audit-grade logging without PII.

Multi-Route Liquidity

AMM + orderbook aggregation with path splitting and circuit breakers.

Open Source

MIT licensed infrastructure. View code →

Why Not Native path_find?

Native pathfinding is a primitive. LucenDEX is infrastructure.

Capability Native path_find LucenDEX
Circuit breakers ✅ Price anomaly detection + auto-pause
Quote binding ✅ blake2b-256 QuoteHash
Replay prevention ✅ used_quotes tracking
Rate limits + SLAs ✅ Per-partner quotas + metering
Compliance audit trail ✅ 90-day retention, no PII

Zero-Trust Execution Flow

Client / Wallet LucenDEX Router Quote + Route + Fees →QuoteHash AMMs Orderbooks XRPL Ledger Client signs & submits Memo: • QuoteHash • LastLedgerSequence Use DeliverMin for protection Partner Relay (optional)
1

Request Quote

Client requests best route for token pair + amount. Router computes optimal path across AMM and orderbook liquidity sources.

2

Receive QuoteHash

Router returns route, price, fees, and cryptographic QuoteHash with TTL (LastLedgerSequence). Quote binding enforced cryptographically.

3

Sign Transaction

Client signs transaction with QuoteHash in memo, client-side. Backend never sees private keys. Non-custodial architecture.

4

Submit & Settle

Submit directly to rippled or via optional relay. Execution must match QuoteHash or fail. Full XRPL ledger transparency.

Infrastructure Terms & Concepts

Understanding LucenDEX architecture, XRPL DEX primitives, and deterministic execution

blake2b-256 cryptographic hash binding quote parameters, route, fees, and TTL. Embedded in XRPL transaction memo to enforce deterministic execution. Tampering detection ensures quoted terms match settlement exactly.

Native XRPL liquidity pools using constant product formula. Created via AMMCreate, modified via AMMDeposit/AMMWithdraw. Indexed for multi-route aggregation.

Ledger height limit via LastLedgerSequence. Transaction fails if not validated before TTL. Prevents stale quote execution and provides temporal binding.

Central Limit Order Book on XRPL. Created via OfferCreate, cancelled via OfferCancel. Bid/ask offers indexed for price discovery and route optimization.

Settlement must match quoted route, price, and fees exactly—or fail. No discretionary control, no hidden slippage. Cryptographically enforced via QuoteHash binding.

Architecture where backend never holds user funds or private keys. All transactions signed client-side. Zero custody risk—users maintain full control.

Real-time XRPL ledger monitor indexing DEX-only transactions (AMM + orderbook). Maintains current liquidity state in a RDBMS. No PII, no payment data—compliance by design.

Pathfinding engine computing optimal routes across AMM + orderbook liquidity. Fee injection, path splitting, and deterministic QuoteHash generation. Read-only database access.

Two-way TLS authentication between services. Both client and server verify each other's certificates. Zero-trust architecture—no implicit network trust.

Elliptic curve signature algorithm for partner API authentication. Public key infrastructure—no symmetric keys. Request signing with replay protection.

Safety mechanism detecting price anomalies and abnormal market conditions. Automatic failsafe preventing execution during detected anomalies. Real-time sanity checks.

Indexer restart strategy: backfill small gaps (<1000 ledgers), skip large gaps. Current state rebuilds from live stream. Historical data unnecessary for DEX routing.

Service forwarding signed transaction blobs to rippled. No transaction modification—signature validation only. Disabled by default; clients can submit directly to XRPL.

Privacy principle: collect only essential data. LucenDEX indexes DEX transactions only—no PII, no user accounts, no payment data. XRPL addresses remain pseudonymous.

Independent XRPL validator operated by LucenDEX. Domain-verified at lucendex.com/.well-known/xrp-ledger.toml. Provides network security and infrastructure transparency.

Liquidity sourcing from multiple venues (AMM + orderbook) with path splitting. Optimizes for best execution across fragmented liquidity sources.

Built for Infrastructure Buyers

Not competing as a DEX brand. We're infrastructure for partners.

💼 Wallets & Frontends

Embed deterministic routing instead of building your own DEX infrastructure. White-label API integration. View API →

📊 Funds & Market Makers

Best execution API with deterministic guarantees. Premium quotas and priority routing available.

🪙 Token Issuers

XRPL liquidity access for your token. Multi-route aggregation ensures best prices for your holders.

🏦 Custodians & Fintechs

Non-custodial execution rails for compliant products. Enterprise SLAs and integration support. Compliance docs →

Milestones & Status

Clear delivery stages with completion status.

Milestone Status What’s Included
M0: Infrastructure ✅ Complete rippled nodes, PostgreSQL, indexer streaming
M1: Router Engine ✅ Complete Pathfinding, QuoteHash, circuit breakers, 92%+ coverage
M2: Public API 🔜 Q1 2026 REST endpoints, demo UI, wallet integration
M3: Partner API 🔜 Q1 2026 Ed25519 auth, rate limits, metering, SLAs
M4: Validator ✅ Live Domain-verified validator, monitoring
M5: Pilot Partners 🔜 Q2 2026 First production integrations

Common Questions

LucenDEX is enterprise DEX infrastructure for XRPL — non-custodial, deterministic routing and settlement that wallets, fintechs, and institutions integrate instead of building from scratch.

No. LucenDEX never holds user funds. All transactions are signed client-side by the user's wallet. We provide routing and optional relay services only - your keys remain with you.

Every quote includes a cryptographic hash (QuoteHash) binding the price, route, fees, and TTL. This hash is embedded in the XRPL transaction memo, ensuring the execution matches the quoted terms exactly. No hidden slippage or price manipulation.

LucenDEX is built for infrastructure partners: wallets wanting to embed trading, fintechs building compliant products, institutions needing best execution, and token issuers requiring XRPL liquidity access.

LucenDEX charges a small routing fee in basis points (bps) on executed swaps. Premium API partners receive higher rate limits and priority routing. Enterprise integration fees available for custom deployments.

Build on LucenDEX

Infrastructure-first XRPL execution for wallets, fintechs, and trading teams.

Early integration slots available for Q2 2026 pilots.