Swap Engine

Roar Finance includes an integrated swap module powered by a native AMM (Automated Market Maker) architecture deployed on the Hyperliquid EVM chain.

The module enables users to:

  • Swap tokens instantly through a permissionless liquidity layer

  • Provide liquidity to token pairs and receive LP tokens

  • Use those LP tokens directly within the Roar Finance farming system

All core functionalities : swapping, liquidity provision, and LP management are accessible directly within the dApp interface. No external routing or third-party dependencies are required.

The system follows a constant product formula (x * y = k), similar to models used by Hyperswap v3 and other established DEX protocols. Liquidity providers earn a share of swap fees based on the proportion of liquidity they supply to the pool.

This embedded AMM engine ensures:

  • Seamless interaction between farming and trading

  • Native routing optimized for the Hyperliquid EVM environment

  • A unified experience for liquidity providers and farmers

By design, the swap module is tightly integrated into the protocol’s economics, creating strong alignment between trading volume and farming incentives.

Last updated