Rhea Finance
  • Introduction
  • RHEA Finance White Paper
  • Genesis
  • Tokenomics
  • Governance
  • Community
  • Team
  • Getting Started
    • Setup Wallet
    • Using the Rainbow Bridge
    • Using the Platform
    • Buy REF Token
    • Staying Safe
  • RHEA Finance
    • Overview
      • Auto Router
      • Multi-chain Router
      • Pooling
      • Staking
      • RHEA V2 & DCL Pools
      • Aggregator Bridge
    • Guides
      • Lending & Borrowing
        • Audits & Risks
        • Supplying
        • Borrowing
        • APY
        • Health Factor
        • LP as Collateral
        • How Lending & Borrowing works
          • Health Factor
          • Interest Rate Model
          • Liquidations
          • Oracle
        • Step by Step Guide
      • Trade
        • Swap
        • Limit Orders
      • Liquidity Management
        • Classic Pools
        • Stable & Rated Pools
        • RHEA v2 Pools
      • Farming
      • Staking
      • Aggregator Bridge
      • RHEA Point System
  • SECURITY
    • Contracts
    • Guardians
    • Oracles
    • Audits
    • Bug Bounty
  • DEVELOPERS
    • CLI Trading
    • CLI Farming
    • RHEA SDK
  • SUPPORT
    • FAQ
    • Help
Powered by GitBook
On this page
  • Introduction
  • RHEA Swap Widget
  • Resources

Was this helpful?

  1. DEVELOPERS

RHEA SDK

PreviousCLI FarmingNextFAQ

Last updated 27 days ago

Was this helpful?

Introduction

RHEA SDK is designed to assist developers when interacting with the main functions of the protocol. Main functions that can be defined as:

  • Trade: Swap tokens with our Automated Market Maker (AMM)

  • Pool: Add/Remove liquidity and earn revenue from swap fee (Coming soon)

  • Farm: Stake LP tokens into farms and earn liquidity incentives (Coming soon)

  • Boost Farm: Stake LOVE tokens to get boosted liquidity incentives (Coming soon)

  • Stake: Stake RHEA tokens to earn fees generated by the protocol (Coming soon)

  • Vote: Lock REF<>NEAR LP tokens to get veTokens and participate in the governance of the protocol and the allocation of liquidity incentives (Coming soon)

You can find detailed introduction and guide in this .

RHEA Swap Widget

If you're a project developer looking to integrate the RHEA Swap functionality into your own application, we recommend using the Ref Swap Widget.

The RHEA Swap Widget is a useful tool, allowing any third party service to access RHEA's liquidity. Users of ecosystem dapps have the ability to swap via the Widget, without the need to go to Ref app, thus improving the user experience.

Here are some use cases:

  • Swapping stablecoins for your project's token

  • Swapping tokens to lend, farm or stake

  • Swapping one token for a specific token, which can be used to buy a NFT in the associated marketplace

Using the RHEA Swap Widget, with a few customizations, developers can integrate the Swap funtion directly into their dapps. Both mobile and/or website version are available.

For the default theme, developers can chose between the light mode and dark mode. We also provide a lot more themes for you to choose from.

Resources

Follow the here to start integration.

github link
guide
RHEA SDK Github link