Every TON swap in Sparkling displays the price, route, size, and fees before proceeding, and no action occurs without explicit confirmation from the user. Cross-chain deposits, such as funding Lighter or Polymarket accounts with USDT on TON, are handled using Omniston’s atomic swap protocol based on hash time-locked contracts (HTLC), eliminating the need for manual bridging or separate swaps prior to deposit. All processes are non-custodial, with refund safeguards if swaps fail. Sparkling pulls token prices and icons directly from the STON.fi API to keep TON jetton information up to date. Developers interested in creating similar swap flows can reference the Omniston documentation for integration guidance.
How Sparkling Uses STON.fi Omniston
Sparkling leverages STON.fi’s Omniston backend for swaps between GRAM and TON jettons, integrated into both the Telegram Mini App and web app. Swaps initiated in Sparkling—whether through the token swap interface or via natural-language requests to the built-in AI agent—are routed through Omniston. Each transaction requires manual confirmation using the user’s self-custodial wallet, and the interface presents price, route, size, and fees before any approval. Transaction status updates are shown in real time until the process is complete.
For cross-chain deposits, Sparkling utilizes atomic swaps with HTLCs, enabling users to fund accounts like Lighter or Polymarket directly with USDT on TON, bypassing manual bridging or extra swaps. If a cross-chain swap fails, Omniston’s mechanism provides an automatic refund, ensuring the process remains non-custodial throughout.
Sparkling also sources token pricing and icons from the STON.fi API, ensuring displayed TON jetton data is current. STON.fi clarifies that Sparkling is an independent, third-party integration; all transaction approvals come directly from the user through their wallet.
Cross-Chain Deposits and Atomic Swaps
STON.fi’s integration with Sparkling streamlines cross-chain deposits using HTLC-secured atomic swaps. This enables users to fund prediction market or trading accounts—such as Lighter or Polymarket—with USDT on TON, without manual bridging or assembling multi-step swaps. The user authorizes each swap in their self-custodial wallet, with clear breakdowns of price, size, route, and fees before approval.
With both GRAM/TON jetton swaps and cross-chain deposits routed through Omniston, there’s no need to interact with multiple decentralized exchanges or bridges. Everything takes place within the Sparkling Mini App or web app, with transaction progress visible at each step. The HTLC refund mechanism ensures that if a cross-chain swap fails, user funds are returned instead of being locked or lost.
Builders can utilize Omniston’s framework to integrate swaps and cross-chain routes directly into new apps and wallets. It’s important to note that Sparkling operates independently from STON.fi. Users should review permissions and terms before connecting wallets or funding accounts with TON jettons in any third-party app.
AI Agent and User Authorization
Sparkling’s AI agent converts plain-language commands into transaction-ready swap requests. For every action—swap or deposit—the user sees the price, route, token size, and fees before authorization. No swap or funding occurs without explicit user confirmation through a self-custodial wallet. This model emphasizes user control, blocking any unsanctioned activity from the AI agent.
However, Sparkling’s use of Omniston involves third-party code and infrastructure. While swaps and data are routed via STON.fi and Omniston APIs, neither party endorses Sparkling’s codebase or user interface beyond the public infrastructure provided. Users must ensure wallet approvals are granted only within verifiable Sparkling sessions.
For account funding—such as direct Lighter or Polymarket deposits with USDT on TON—no off-app bridging is required, and Omniston’s atomic swap structure offers refund protection on unsuccessful transactions. Open questions remain about Sparkling’s code transparency and any independent audit of its AI transaction-handling. The Telegram channel also highlights that interacting with prediction markets is inherently risky, and Sparkling functions solely as a third-party integration.
TON Drop Hub take: Anyone using AI-powered jetton swaps should rely exclusively on signing and confirmation flows through their own wallets, rather than defaulting to any unverified Sparkling interface. The application’s black-box transaction construction is a potential risk factor for users.
Sparkling’s integration with Omniston enables seamless swaps between GRAM and other TON jettons within Sparkling’s Mini App and web app, all authorized via the user’s self-custodial wallet. Cross-chain funding for Lighter and Polymarket accounts using USDT on TON happens automatically and non-custodially, with refunds secured by Omniston’s atomic swap logic if a transaction does not complete.
For additional coverage of TON apps and DeFi tools, explore the TON tools and DeFi section.
For related TON Drop Hub coverage, see TON tools and DeFi.
Source reference: original source.
