Skip to content

feat(ccip-api): Add unified search and expand chain family support#3471

Merged
aelmanaa merged 2 commits intomainfrom
feature/ccip-unified-search-api
Feb 17, 2026
Merged

feat(ccip-api): Add unified search and expand chain family support#3471
aelmanaa merged 2 commits intomainfrom
feature/ccip-unified-search-api

Conversation

@aelmanaa
Copy link
Collaborator

This pull request expands the CCIP chain configuration and API to support several new blockchain families (Sui, Canton, TON, Tron, Stellar, Starknet), enhances the OpenAPI schema with richer search and metadata features, and improves the structure and clarity of chain-related configuration files and types.

API and Schema Enhancements:

  • Added unified search and family query parameters to the /chains API, enabling fuzzy and type-detected search across all supported and unsupported chains, and allowing filtering by chain family. The API now returns detailed metadata about the search, including query and detected search type. [1] [2]
  • Expanded the OpenAPI schema to include new chain families and types (Sui, Canton, TON, Tron, Stellar, Starknet), standardized chainFamily naming, and added the supported flag to indicate whether a chain is fully supported or not. [1] [2]
  • Improved documentation and response examples in the OpenAPI spec, clarifying how fields like feeTokens, router, and rmn are populated for supported vs. unsupported chains. [1] [2]

Chain Configuration and Selector Support:

  • Added configuration and selector file support for the new chain types (Sui, Canton, TON, Tron, Stellar, Starknet) in src/config/chainTypes.ts, src/config/data/ccip/paths.ts, and src/config/data/ccip/selectors.ts, including icon paths, colors, and descriptions. [1] [2] [3]
  • Updated selector import logic and types to handle the new chain families, and introduced the SelectorWithMeta type for richer selector metadata.

Other Updates:

  • Bumped the API version to 1.6.0 in the OpenAPI spec to reflect these breaking and additive changes.
  • Added fuse.js as a dependency for fuzzy search functionality.

These changes collectively make the CCIP documentation and API more robust, extensible, and user-friendly, especially for developers working with a broader range of blockchain ecosystems.

@aelmanaa aelmanaa requested a review from a team as a code owner February 17, 2026 20:25
@vercel
Copy link

vercel bot commented Feb 17, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
documentation Ready Ready Preview Feb 17, 2026 8:41pm

Request Review

@github-actions
Copy link
Contributor

👋 aelmanaa, thanks for creating this pull request!

To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team.

Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks!

- Add unified search endpoint with automatic query type detection:
  - Selector search (>17 digit numbers)
  - ChainId search (numeric values)
  - InternalId search (kebab-case identifiers)
  - DisplayName fuzzy search (using Fuse.js)

- Expand chain support to 9 families:
  - evm, solana, aptos, sui, tron, canton, ton, stellar, starknet
  - Remove legacy svm/mvm family groupings

- Add new selector YAML files for:
  - sui, tron, canton, ton, stellar, starknet

- Update API to return both supported and unsupported chains in search mode
  with `supported: boolean` field

- Add family filter parameter for search results

- Update OpenAPI spec with all 9 chain families

- Consolidate ChainType/ChainFamily types to src/config/types.ts

BREAKING CHANGE: Chain family values changed from svm/mvm to solana/aptos/sui.
Clients must update data.svm to data.solana, data.mvm to data.aptos.
@aelmanaa aelmanaa force-pushed the feature/ccip-unified-search-api branch from 3ba24ef to 9a4d9ce Compare February 17, 2026 20:36
@aelmanaa aelmanaa enabled auto-merge (squash) February 17, 2026 20:38
@aelmanaa aelmanaa merged commit ccc9391 into main Feb 17, 2026
22 checks passed
@aelmanaa aelmanaa deleted the feature/ccip-unified-search-api branch February 17, 2026 20:42
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.

2 participants