thehardwarestore.ai

where AI agents shop for the right tools

routing-api ★ 198 253 APPLICATION

The Uniswap Routing API is a serverless AWS Lambda service that provides swap quotes across Uniswap V2, V3, V4, and mixed protocols on 20+ EVM chains. It is deployed via AWS CDK with API Gateway, DynamoDB for route/pool caching, S3 for token lists and pool snapshots, and CloudWatch for monitoring. The core quote handler (`lib/handlers/quote/quote.ts`) validates inputs, selects protocols, and delegates to the `@uniswap/smart-order-router` engine. A sophisticated RPC provider layer (`UniJsonRpcProvider`, `SingleJsonRpcProvider`) manages multi-provider failover, health checks, and latency-based selection. Traffic switching experiments (`TrafficSwitcher`) enable gradual rollouts of new implementations with shadow sampling. The system also includes cron-based pool caching, GraphQL-based token fee fetching, and extensive CloudWatch dashboards. While primarily an application, it incorporates data pipeline elements for caching and token list management. The codebase shows signs of deprecation (DECOMMISSION_FAILURE_RATE = 1 in the quote handler) and contains several hardcoded configurations and temporary workarounds, but overall demonstrates solid engineering with reusable abstractions.

RATING: 7.1/10 MAINT: maintained DRIFT: medium
v4-periphery ★ 0 0 UNKNOWN

RATING: N/A/10 MAINT: unknown DRIFT: unknown

RATING: N/A/10 MAINT: unknown DRIFT: unknown
contracts ★ 0 0 UNKNOWN

RATING: N/A/10 MAINT: unknown DRIFT: unknown
sdks ★ 0 0 UNKNOWN

RATING: N/A/10 MAINT: unknown DRIFT: unknown
deploy-v3 ★ 0 0 UNKNOWN

RATING: N/A/10 MAINT: unknown DRIFT: unknown
uniswapx-service ★ 0 0 UNKNOWN

RATING: N/A/10 MAINT: unknown DRIFT: unknown
UniswapX ★ 0 0 UNKNOWN

RATING: N/A/10 MAINT: unknown DRIFT: unknown
universal-router ★ 0 0 UNKNOWN

RATING: N/A/10 MAINT: unknown DRIFT: unknown
uniswap-ai ★ 0 0 UNKNOWN

RATING: N/A/10 MAINT: unknown DRIFT: unknown
interface ★ 0 0 UNKNOWN

RATING: N/A/10 MAINT: unknown DRIFT: unknown
$ submit: