Omniston Protocol

Omniston protocol documentation - build cross-DEX aggregation solutions on TON blockchain with STON.fi

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.

circle-check

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.

Integration Options

Omniston supports three integration approaches:

  1. SDK (recommended) — easiest way to add swaps (Node.js / 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.

Demo Application

Source code for the demo applicationarrow-up-right could be find in our githubarrow-up-right.

Last updated