Introduction

STON.fi Developer Documentation - Build on TON's leading DEX with comprehensive guides, SDK references, and API docs

What Is STON.fi?

STON.fi is the leading decentralized automated market maker (AMM) exchange on the TON blockchain, employing the Constant Product Market Maker algorithm. The web-based app (app.ston.fi) provides a visual interface for interacting with smart contracts deployed on TON.

Key Features

  • Fully Decentralized - Non-custodial exchange with funds held in permissionless smart contracts

  • Near-zero fees - Minimal transaction costs leveraging TON's efficiency

  • Low slippage - Deep liquidity pools ensure optimal trading rates

  • No front-running - TON's advanced sharding and async architecture prevent manipulation

  • Immutable contracts - Pool contracts cannot be modified, ensuring fund security

  • Time-locked upgrades - Router updates have a 7-day lock period for transparency

🚀 Quick Start for Developers

Whether you're building on STON.fi or integrating our protocol, here's where to begin:

Getting Started Guides

Developer Resources

STON.fi Products

STON.fi builds user‑centric DeFi on TON. Our main products are the STON.fi DEX and Omniston aggregator, supported by SDKs, APIs, and a production web app.

What Is the STON.fi DEX?

A permissionless automated market maker (AMM) enabling token swaps and liquidity provision on TON.

  • Constant Product (x*y=k) pools with deep liquidity

  • Non‑custodial contracts and time‑locked router upgrades

  • Liquidity provision and yield farming

  • Fees configurable per pool — see Fees

What Is Omniston?

Omniston is STON.fi’s aggregation layer that finds best rates by combining on‑chain liquidity sources and RFQ resolvers.

📚 Documentation Structure

This documentation provides:

Main Resources:

Community:

What Is an AMM?

An Automated Market Maker (AMM) is a decentralized trading protocol that:

  • Uses liquidity pools instead of order books

  • Provides instant trades without counterparties

  • Allows anyone to become a liquidity provider

  • Operates 24/7 without intermediaries

Why Build on STON.fi?

For Developers:

  • Comprehensive SDKs and documentation

  • Battle-tested smart contracts

  • Active developer community

  • Direct team support

For Users:

  • Largest liquidity on TON

  • Best rates through aggregation

  • Seamless Telegram integration

  • Trusted by millions

Ready to start building? Jump to our Quickstart Guides or explore the SDK Documentation!

Last updated