FIVA
  • FIVA Overview
    • Introduction
    • Problem & Solution
    • Importance to the Space
  • FIVA Mechanics
    • Glossary
    • Understanding the Basics
    • Protocol Components
      • SY (Standardized Yield Token)
      • Yield Stripping
      • PT (Principal Token)
      • YT (Yield Token)
      • FIVA's AMM Design
    • Fee Structure
    • P&L in FIVA
    • FAQ
  • FIVA Manual
    • Getting Started
    • Use Cases
    • PT - Fixing Yield
    • YT - Leveraged Yield Farming
    • LP - Liquidity Provision
    • Mint - Get Liquidity from Future Yields Today
    • Arbitrage Opportunities
  • FIVA Strategies
    • EVAA
      • PT - Fixed USDT Yield
      • YT - EVAA Point Farming with up to 250x Multiplier
      • LP - Enhancing Your EVAA Returns
      • Mint - Get you Future USDT Yield now
    • Ethena
      • PT - Fixed USDe Returns
      • YT - Farming Ethena Airdrop with 60x Multiplier
      • LP - Multiple Income Streams
    • Storm Trade
      • PT - Fixed Yield on SLP
      • YT - Efficient Reward & Yield Farming on Storm
      • LP - Maximizing Returns from Storm Vaults
      • Max Supply - Determination Framework for Storm SLP Market
    • Tonstakers
      • LP - Enhancing Your Tonstakers Returns
  • FIVA Rewards
    • The Points System
    • Genesis Pass Collection
  • FIVA Pioneers Campaign
  • Security
    • Risks
      • Smart Contract Risk
      • Underlying Protocol Risk
      • Oracle Risk
      • PT Risks
        • Market Risk
        • Liquidity Risk
      • YT Risks
        • Market Risk
        • Implied Leverage
        • Zero Value at Maturity
        • Liquidity Risk
      • LP Risks
        • Impermanent Loss
        • Market Risk
        • Additional Considerations for LPs
    • Audit Report - Tonbit
  • Developers
    • SDK
    • npm package
    • Integrating Fixed-Rate Staking
      • SDK - Guide for Fixed Staking
      • API - Pools Metrics Endpoint
  • Links
    • Website
    • Telegram App
    • Telegram Channel
    • Telegram Community
    • X (Twitter)
Powered by GitBook
On this page
  • Why Integrate Fixed Staking from FIVA
  • How to Integrate Fixed Staking
  • Complete Integration Workflow
  • Next Steps
  1. Developers

Integrating Fixed-Rate Staking

Why Integrate Fixed Staking from FIVA

FIVA offers a groundbreaking solution for platforms looking to provide their users with stable, predictable returns on their TON and USD assets. This integration brings multiple advantages to your platform:

Superior Yields with Certainty

FIVA consistently delivers some of the highest fixed rates in the TON ecosystem by aggregating yields from leading protocols like Ethena, Storm, EVAA, and Tonstakers. Our rates also factor in future protocol rewards and point values, giving your users access to enhanced returns that aren't available through direct staking.

For example, while direct staking might yield 5-15% with significant volatility, FIVA's fixed rates can provide comparable or better returns with complete certainty.

Revenue Sharing Opportunity

Platforms integrating FIVA's fixed staking solution receive 5 basis points (0.05%) of all volume generated through their integration.

How Fixed Staking Works for Users

Users who stake through your platform will receive a guaranteed yield if they hold until maturity (the expiration date of their fixed-rate position). This works similar to traditional bank term deposits, providing familiarity for users new to DeFi.

If users need to exit before maturity, they maintain complete liquidity - they can unstake at any time. However, the actual return might differ from the initially offered rate, as it will be determined by current market conditions. This flexibility combines the best of traditional finance (guaranteed returns) with DeFi benefits (maintained liquidity).

Security and Reliability

Our fixed staking solution has undergone rigorous security validations:

  • Comprehensive audits by Trail of Bits and TonBit

  • Six months of thorough testnet operations

  • Implementation of industry best practices

  • Developed by a team with extensive experience in both DeFi and traditional finance

How to Integrate Fixed Staking

SDK Implementation

We've developed a streamlined SDK that makes integration straightforward. Your platform needs to implement three primary functions:

  1. Stake (Fixed Yield) - Allows users to lock in current rates and create a fixed-yield position

  2. Unstake Before Maturity - Enables users to exit positions early at current market rates

  3. Unstake After Maturity - Lets users redeem their position once maturity is reached

These functions integrate directly with FIVA's PT (Principal Token) system, though for user-facing interfaces, we recommend using terms like "Fixed Staking" for better user understanding.

API Integration for Rate Data

Your platform will need to display current fixed rates, maturity, and liquidity information. All this data is accessible through our comprehensive API. Key endpoints include:

  • Current fixed APY rates for each asset

  • Available liquidity information

  • Maturity dates

Complete Integration Workflow

The integration process follows these steps:

  1. Implement the SDK functions for stake, unstake before maturity, and unstake after maturity

  2. Connect to our API to display relevant fixed-rate information to users

  3. Create user-friendly interfaces for the fixed staking process

  4. Check the integration in testnet

  5. Launch the integration to your users

Our SDK handles all the complex interactions with FIVA's smart contracts, making the integration process straightforward for your development team.

Next Steps

In the following chapters, we provide detailed technical documentation for:

  • SDK implementation specifics

  • API documentation

PreviousAdditional Considerations for LPsNextSDK - Guide for Fixed Staking

Last updated 11 hours ago

If you have any questions or need additional information, please contact andrei.yazepchyk@thefiva.com or ask in our .

community in Telegram