Skip to content

withfabricxyz/spandex

Repository files navigation

spanDEX

NPM Version GitHub branch status

Open Source Meta-Aggregation Library

Expand tokens, pools, and chains beyond any single aggregator. Fetch multiple quotes to find the best price or lowest latency quote. Built-in failover. Free and open source: Inspect, modify, and contribute. Remove the risk of vendor lock-in. The world is yours.

Features

  • Redundant quote fetching across multiple providers (failover by default).
  • Optimize for your use case: pick best price, fastest quote, or lowest estimated gas.
  • Built-in simulation to validate quotes before execution.
  • Minimal dependencies (core is lightweight and ESM-ready).
  • Multiple provider integrations (0x, KyberSwap, Odos, Relay, LiFi, Fabric).
  • Proxy support to defer quote fetching to a remote server (CORS-friendly).
  • React hooks for fast UI integration.
  • Metrics extraction (latency, gas, price impact, net outputs).

Documentation

Why spanDEX?
Getting Started
Getting Started for React Apps
Architecture

Get Involved



spanDEX