Farm
STON.fi yield farming guide - stake LP tokens to earn additional rewards on top of trading fees
Yield farming functionality for STON.fi liquidity providers.
Overview
STON.fi farming allows LP token holders to earn additional rewards by staking their tokens in farming pools. This provides an extra incentive for liquidity providers beyond trading fees.
How It Works
Provide Liquidity: Add tokens to a DEX pool to receive LP tokens
Stake LP Tokens: Deposit LP tokens into a farming pool
Earn Rewards: Accumulate farming rewards over time
Claim & Unstake: Harvest rewards and withdraw LP tokens when desired
Key Features
Multiple farming pools with different reward rates
Flexible staking and unstaking
Real-time reward accumulation
NFT-based position tracking
SDK Integration
Farming functionality is available through the STON.fi SDK:
See the operation guides below for contract setup, transaction preparation, and execution.
Available Operations
Find the Farm and your position
Farm operations use LP tokens and Farm NFTs. To stake, select a Farm minter and the matching LP token. To claim rewards, unstake, or destroy a position, use its Farm NFT. The examples target FARM.v3.
Use API getFarmsByPool(poolAddress) to discover farms for an LP pool, and getWalletFarms({ walletAddress }) to find owned positions. Select the actual farm/version before choosing an NFT:
Use the discovered Farm or NFT address in the operation guide. Submit the built transaction through your TON wallet, then check the operation result.
Last updated