evanphi7

Off-chain DEX route discovery on Solana — pool decoders, multi-hop quoting, and arbitrage cycle detection

45
42
100% credibility
Found May 05, 2026 at 45 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Rust
AI Summary

Lighthouse Router is an off-chain tool for discovering optimal token swap routes and arbitrage cycles across Solana DEXs including Raydium, Orca, and Phoenix.

How It Works

1
🔍 Discover Lighthouse Router

You hear about a handy tool that helps everyday traders find the best paths for swapping tokens on the Solana network without middlemen.

2
💻 Set it up on your computer

You easily install this free program so it's ready to use in moments.

3
🌐 Link to live markets

You connect it to the Solana marketplace to pull in real-time trading info from popular exchanges.

4
💱 Ask for your swap

Tell it which token you want to trade, what you want in return, and how much – it searches across exchanges for the cheapest, most efficient path.

5
🔄 Hunt for profit loops

You can also check for special opportunities where token prices loop back for quick gains.

Make smarter trades

You now see exactly how to get the most value from your swaps or grab those profits, feeling confident and in control.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 45 to 45 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is lighthouse-router?

Lighthouse-router is a Rust crate for off-chain DEX route discovery on Solana, pulling pool data via RPC to enable multi-hop quoting and arbitrage cycle detection. It decodes pools from Raydium AMM v4, Orca Whirlpools, and Phoenix order books, then builds token graphs for finding optimal swap routes or profitable cycles without on-chain execution. Developers get a lightweight library and CLI for quick quotes like `lighthouse quote --from USDC --to SOL --amount 1e9 --max-hops 3`.

Why is it gaining traction?

Unlike bloated aggregators like Jupiter, it's dependency-light and predictable—no cross-program calls, MEV bundles, or slippage protection, just honest off-chain primitives you control. The CLI and simple API shine for rapid prototyping, while Bellman-Ford cycle detection spots arb opportunities at marginal sizes. Rust's speed keeps route searches fast even on dense graphs.

Who should use this?

Solana traders scripting custom off-chain DEX routers for better quotes than single-venue swaps. Arbitrage hunters scanning for negative cycles across venues. Backend devs at trading bots or aggregators needing pool quoting without third-party APIs.

Verdict

Grab it if you need lean Solana DEX discovery tools—core quoting and routing are stable with solid tests—but skip for production swaps (1.0% credibility score reflects 45 stars and early status). Docs and examples make it dead simple to start.

(178 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.