đźš§ In Development: LucenDEX is under active development. API and infrastructure not yet live for production use.

Deterministic Execution Infrastructure for XRPL

Non-custodial routing and settlement layer built for wallets, fintechs, and institutions. Zero-trust architecture with cryptographic quote binding.

Centralized Infrastructure Fails Under Stress

The October 10, 2025 crash exposed systemic fragilities in centralized exchange infrastructure. When markets moved, discretionary control and opaque risk models created cascading failures.

$19B
Liquidated in 24 Hours
1.6M
Accounts Affected
$283M
In Reimbursements Required

Built for Infrastructure Partners

Enterprise-grade execution layer with deterministic guarantees

đź”’

Non-Custodial

Zero custody risk. Backend never sees private keys. All transactions signed client-side. Learn about compliance →

⚡

Deterministic Execution

QuoteHash = blake2b-256(params + fees + TTL). Cryptographically bound quotes. View API docs →

🛡️

Circuit Breakers

Real-time sanity checks and price anomaly detection.

🔄

Multi-Route Liquidity

Aggregate AMM and orderbook liquidity with path splitting. Indexer architecture →

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 →

Common Questions

LucenDEX is a neutral, non-custodial execution layer for XRPL trading. We provide deterministic routing, quoting, and settlement infrastructure that wallets, fintechs, and institutions can integrate to access deep XRPL liquidity without building DEX infrastructure themselves.

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.

Interested in Early Partnership?

We're building deterministic infrastructure for XRPL. Currently in development.

API not yet available for production use. Expressing interest helps us understand market demand.