feat(ccip-api): Add unified search and expand chain family support#3471
Merged
feat(ccip-api): Add unified search and expand chain family support#3471
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
3ba24ef to
9a4d9ce
Compare
khadni
approved these changes
Feb 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
searchandfamilyquery parameters to the/chainsAPI, 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]chainFamilynaming, and added thesupportedflag to indicate whether a chain is fully supported or not. [1] [2]feeTokens,router, andrmnare populated for supported vs. unsupported chains. [1] [2]Chain Configuration and Selector Support:
src/config/chainTypes.ts,src/config/data/ccip/paths.ts, andsrc/config/data/ccip/selectors.ts, including icon paths, colors, and descriptions. [1] [2] [3]SelectorWithMetatype for richer selector metadata.Other Updates:
fuse.jsas 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.