DEX modules
Provider-independent DeFi integrations are live in the wallet across STON.fi, DeDust, and swap.coffee. A reusable STON.fi kit for the wider TON community is planned for public release.
STON.fi
LiveSwaps, liquidity provide/remove, farming, and staking flows.
DeDust
LiveSwap routing and on-chain reads through the provider data plane.
swap.coffee
LiveAggregated swap routing as an independent provider lane.
A reusable STON.fi kit
The STON.fi integration is structured as a kit (stonfi-kit)
designed to be embeddable in any wallet via a minimal, host-facing
transaction-sender interface. Today it powers Socialbridge; publishing
it as a standalone open-source package is planned.
- Embeddable: integrates via a generic wallet-facing transaction-sender
- Testable: regression/integration tests and fixtures for critical paths
- Maintainable: clean APIs, isolated dependencies, clear versioning
- Reliable: explicit flow lifecycle and well-defined outcomes for multi-step actions
Security note: key management and signing always remain inside the host wallet. The module never handles secrets.
Capabilities
Wallet-native single-sided liquidity
LiveProvide liquidity starting from a single token (e.g., TON). The wallet orchestrates the steps — quote/simulation → confirmation → swap(s) if needed → add liquidity — with clear UX at each stage.
Consistent transaction lifecycle
LiveA shared lifecycle model for DeFi actions:
prepare → awaiting signature → sent → confirmed / failed / canceled
with safe retry behavior and user-friendly errors.
Safe recovery for multi-step liquidity
LiveMulti-step actions that end up incomplete (network delays, timeouts, partial execution) get safe recovery tools and guidance. Note: a one-shot, same-snapshot "provide + immediate farm deposit" path is not shipped — provide and farm are distinct, verified steps.
Farming & staking
LiveSTON.fi farm deposit/withdraw and staking flows with positions and history in-wallet.