docs.rs failed to build fynd-0.62.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
fynd-0.0.1
Fynd
A high-performance DeFi route-finding engine built on Tycho. Finds optimal swap routes across multiple DeFi protocols in real-time.
Features
- Multi-protocol routing - Routes through your favorite on-chain liquidity protocol, like Uniswap, Balancer, Curve, RFQ protocols, or any other protocol supported by Tycho.
- Real-time market data - Tycho Stream keeps all liquidity states synchronized every block
- Multi-algorithm competition - Multiple solver pools run different algorithm configurations in parallel; the best result wins
- Gas-aware ranking - Solutions are ranked by net output after gas costs, not just raw output
- Sub-100ms solves - Dedicated OS threads for CPU-bound route finding, separate from the async I/O runtime
- Production-ready - Prometheus metrics, structured logging, health endpoints, graceful shutdown
- Extensible - Implement the
Algorithmtrait to add new routing strategies with zero framework changes - Modular - Use just the core solving logic, or build a custom HTTP server with your own middleware
Prerequisites
- Rust 1.92+
- A Tycho API key (get one here)
Quickstart
The solver starts on http://localhost:3000. Request a quote:
Run on a specific chain
You can run on any chain supported by Tycho (see Tycho Hosted endpoints):
See the full quickstart for Docker, build-from-source, and client SDK examples (Rust & TypeScript).
Build features
The fynd binary exposes the following Cargo features:
| Feature | Default | What it enables |
|---|---|---|
metrics |
on | Prometheus /metrics endpoint on a separate HTTP server (port 9898). Pulls in Actix-Web. |
# Default build (metrics on)
# Build without the metrics exporter (smaller binary, no /metrics endpoint)
Documentation
For API reference, configuration options, encoding, client fees, custom algorithms, architecture, and more, visit the full documentation at docs.fynd.xyz.
Packages
Fynd is organized into three crates:
fynd— Complete CLI application that runs an HTTP RPC server. Use this to run Fynd as a standalone service.fynd-core— Pure solving logic with no HTTP dependencies. Use this if you want to integrate Fynd's routing algorithms into your own application.fynd-rpc— HTTP RPC server builder with customizable middleware. Use this to build a custom HTTP server with your own configuration.
Client SDKs that handle quoting, token approvals, and swap execution end-to-end:
fynd-client— Rust@kayibal/fynd-client— TypeScript