# Omniston Protocol

## Overview

Omniston is a decentralized liquidity aggregation protocol designed specifically for TON Blockchain. It aggregates liquidity from various sources, including:

* AMM DEXs
* On-chain RFQ resolvers (TON)

The **Request for Quote (RFQ)** mechanism allows users to get the most competitive price quote from resolvers, including external DEX platforms.

{% hint style="success" %}
**Omniston demo App is live!** See [omniston.ston.fi](https://omniston.ston.fi/)
{% endhint %}

## Key Benefits

Omniston offers several advantages:

* Provides users with the best pricing conditions
* Access to a wide range of tokens across different liquidity sources within the ecosystem
* Flexibility to set fees
* Allows seamless integration by providing access to all liquidity sources in one unified platform, eliminating the need for third-party solutions

## Use Case

For example, when a user wants to swap Token **A** for Token **B**, they initiate a swap request through Omniston. The protocol aggregates quotes from all connected liquidity sources, including external DEX platforms, and presents the user with the most favorable offer.

## Swap

For instructions on performing a swap using the Omniston protocol, see the [Swap overview](https://docs.ston.fi/developer-section/omniston/swap).

## Integration Options

Omniston supports three integration approaches:

1. **SDK (recommended)** — easiest way to add swaps ([Node.js](https://docs.ston.fi/developer-section/omniston/sdk/nodejs) / [React](https://docs.ston.fi/developer-section/omniston/sdk/react)).
2. **WebSocket (JSON-RPC)** — low-level API for custom integrations.
3. **gRPC (TLS)** — primary low-level API for backend integrations and resolvers.

For information about implementing referral fees in your application, see the [Referral Fees guide](https://docs.ston.fi/developer-section/omniston/referral-fees).

## Demo Application

Source code for the [demo application](https://omniston.ston.fi) could be find in our [github](https://github.com/ston-fi/omniston-sdk/tree/main/examples/next-js-app).
