Skip to content

feat(bridge): add Near Intents provider to quote-latency and bridge-fee benches - #593

Merged
Flotapponnier merged 1 commit into
devfrom
feat/near-intents-provider
Jun 19, 2026
Merged

feat(bridge): add Near Intents provider to quote-latency and bridge-fee benches#593
Flotapponnier merged 1 commit into
devfrom
feat/near-intents-provider

Conversation

@Flotapponnier

Copy link
Copy Markdown
Collaborator

What

Adds Near Intents (1Click API, NEAR Protocol) as a fifth provider to both bridge benchmarks.

Touched files:

  • benchmarks/bridge-quote-latency.yml — provider entry + cohort copy
  • benchmarks/bridge-fee.yml — provider entry + cohort copy
  • src/data/provider-registry.ts — registry entry with longDescription, docs link
  • src/lib/logo-manifest.ts — logo registration
  • public/logos/near-intents.svg — Near Protocol logo

When metrics start flowing

The label bridge="near-intents" does not exist in Prometheus yet. It will start appearing once:

  1. The mobula-api PR (separate, in flight) ships nearintents_bridge.go
  2. NEARINTENTS_API_KEY is set on the Railway bridge-monitor service
  3. bridge-monitor is redeployed

Until then the provider renders as awaiting first run on the page (materialize layer handles this gracefully via the existing draftBenchmark fallback).

Auth scheme used (FYI for the harness PR)

Authorization: Bearer <JWT> works. The X-API-Key header documented in the OpenAPI spec returns 401 in practice. The harness should use Bearer.

Live test results with the partner JWT (USDC $50 all 4 routes)

Route Latency Cost
Sol vers Base 3368 ms 1.3 bps
Base vers Arb 3091 ms 1.9 bps
Arb vers Sol 3146 ms 6.8 bps
Arb vers HyperCore 98 ms 63 bps (solver eco)

Partner key waives the 10 bps appFee that anonymous calls would pay.

Adds the Near Intents 1Click API provider to both bridge benchmarks.
Metrics will start populating once the bridge-monitor harness is
redeployed with the nearintents_bridge.go integration shipped on
mobula-api side and the NEARINTENTS_API_KEY env var set on Railway.

Includes Near Protocol logo (public/logos/near-intents.svg), provider
registry entry with longDescription + docs link, and YAML provider
entries on both bridge-quote-latency and bridge-fee with the post-#584
avg(...) wrapper on success queries.

SEO cohort copy updated to include Near Intents in both benches.
@Flotapponnier
Flotapponnier merged commit 4a62b82 into dev Jun 19, 2026
1 check passed
@Flotapponnier
Flotapponnier deleted the feat/near-intents-provider branch June 19, 2026 17:04
Flotapponnier added a commit that referenced this pull request Jun 19, 2026
…ee (#593) (#594)

Adds the Near Intents 1Click API provider to both bridge benchmarks.
Metrics will start populating once the bridge-monitor harness is
redeployed with the nearintents_bridge.go integration shipped on
mobula-api side and the NEARINTENTS_API_KEY env var set on Railway.

Includes Near Protocol logo (public/logos/near-intents.svg), provider
registry entry with longDescription + docs link, and YAML provider
entries on both bridge-quote-latency and bridge-fee with the post-#584
avg(...) wrapper on success queries.

SEO cohort copy updated to include Near Intents in both benches.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant