# Rainbow Swap > Swap Aggregator on TON Rainbow Swap aggregates liquidity from TON blockchain decentralized exchanges to provide optimal token swap routing with minimized price impact. Rainbow Swap operates as a decentralized exchange aggregator on the TON blockchain that routes token swaps across multiple DEXes to optimize pricing. The platform analyzes liquidity pools from DeDust.io, Ston.fi, and other TON DEXes to split trade volume across optimal routes, minimizing slippage and price impact. Users can access the service through a web interface or Telegram bot to swap TON and over 2,500 Jetton tokens. The routing smart contract distributes trades while accounting for gas costs to ensure users receive better execution prices than single-DEX swaps. - Type: Project - Sector: Finance - Status: Active - Founded: 2024-07-01 - Profile: https://thegrid.id/profiles/rainbow_swap ## Products - [Rainbow Swap](https://thegrid.id/profiles/rainbow_swap): Rainbow Swap is a web-based DEX aggregator for the TON blockchain that routes token swaps across DeDust.io, Ston.fi, and other DEXes using FunC smart contracts to optimize trade execution by splitting volume across multiple liquidity pools while accounting for gas costs. (DEX Aggregator , Live, Main Product) ## Links - [Main](https://rainbow.ag) - [Documentation](https://rainbow-ag.gitbook.io/docs) - [Twitter / X](https://x.com/rainbow_swap) - [Telegram](https://t.me/rainbow_swap) - [Telegram](https://t.me/rainbow_swap_chat) - [GitHub](https://github.com/0xblackbot/rainbow-swap) ## Legal This data is provided under two licensing models. Model 1 - open data. The open data core is licensed under the Open Database License (ODbL) — a copyleft/share-alike license allowing free use, modification, and sharing for any purpose. Attribution is required: include "Powered by The Grid" linking to https://thegrid.id wherever the data is used. Derivative databases must be shared under ODbL terms. Trademarks, logos, and brand names (marked "Special TPIP") are not covered by the ODbL. For ML/AI use: training datasets that substantially extract ODbL data are Derivative Databases and must be shared under ODbL if publicly used; models must be attributed in documentation. Model 2 - commercial licenses. The Grid Data Service (TGDS) is also available as a commercial license. See [Web Services Terms](https://about.thegrid.id/legal/web-services-terms) for commercial use that is not covered by the open data service. The following applies to both licensing models. - All data is provided AS IS with no guarantees of accuracy. - The Grid does not provide investment, legal, or tax advice, and - a project's presence in The Grid's data does not imply endorsement. - [Data Licensing & Disclaimers](https://about.thegrid.id/legal/data-licensing-and-disclaimers): Licensing models and disclaimers - [Open Data (ODbL)](https://about.thegrid.id/legal/open-data): Open Database License terms and scope for The Grid's open data service. - [Attribution Guidelines](https://about.thegrid.id/legal/open-data-attribution-guidelines): How to attribute The Grid's data when using the open data service. - [Web Services Terms](https://about.thegrid.id/legal/web-services-terms): commercial Terms for using data services. - [All Legal Documents](https://about.thegrid.id/legal): Full index of terms, policies, and disclosures ## Optional - [TGS Field Descriptions](https://github.com/The-Grid-Data/workspace-public/blob/main/references/tgs-field-descriptions.md): Schema field definitions for The Grid's data model - [TGS JSON Structure](https://github.com/The-Grid-Data/workspace-public/blob/main/references/tgs-json-structure.md): Data model structure and relationships - [Product Type Definitions](https://github.com/The-Grid-Data/workspace-public/blob/main/references/product-type-definitions.md): Definitions for each product type - [Product Type Classification](https://github.com/The-Grid-Data/workspace-public/blob/main/references/product-type-classification.md): Guide for classifying products into types - [Grid MCP Guide](https://github.com/The-Grid-Data/workspace-public/blob/main/grid-search/skills/grid-query/references/grid-mcp-guide.md): How to query The Grid programmatically via MCP