Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 

Repository files navigation

x-fi β€” Spot Margin Trading Protocol on TON

x-fi is a decentralized spot margin trading protocol built on the TON blockchain, enabling users to open long and short positions directly on DEX liquidity, using undercollateralized loans from KirkaFi lending pools.

What is x-fi?

x-fi is part of the KirkaFi modular DeFi infrastructure. It allows users to:

Use assets like USDT, NOT, or tsTON as collateral

Borrow assets with partial collateral (~50–70%)

Execute leveraged spot trades on DEX pairs (long & short)

Maintain full self-custody and transparency via smart contracts

How it works

Users deposit collateral into the smart contract (e.g., USDT)

The protocol calculates borrow power based on collateral ratio

Users open long or short positions using DEX liquidity and borrowed assets in any pair represented in x-fi

Positions are monitored via a Health Factor

Partial liquidation is triggered automatically if HF drops below 1

Risk Management

Dynamic liquidation system (partial + fair refund)

Health Factor tracking

Automated notifications and risk thresholds

Protocol-level Treasury covers rare bad debt cases

Features

  • Fully on-chain and non-custodial
  • Integrated with Farmix & Lendix lending pools
  • Supports multiple collateral types (USDT, NOT, stTON, etc.)
  • Alerts and simulations for safe position opening

πŸ“… Roadmap

Smart contract testing Q2 2025

DEX integration (Ston.fi) Q2 2025

Launch on TON Mainnet (Summer 2025)

Audit Q3 2025

πŸ“š Docs

πŸ“¬ Contact

Telegram: @KirkaTON

Twitter: @TonKirkaFi

About

xfi general repository

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors