Rapiddex Smart Contract Integration
Solidity smart contract integrations for interacting directly with the Rapiddex v3 protocol: executing swaps, managing concentrated liquidity positions, and reading pool data.
Purpose
The Rapiddex contracts allow developers to interact directly with the protocol on-chain. Developers can perform swaps, manage concentrated liquidity positions, and query pool states directly from their own Solidity smart contracts or using JSON-RPC.
Key Resources
- GitHub Repository: Rapiddex v3 Smart Contracts
- Core Contracts: Factory, Pool, and Tick math implementations
- Periphery Contracts: SwapRouter, NonfungiblePositionManager, and Quoters
Documentation Organization
The guides below cover three main categories of integration work:
Setup
Integration setup and environment configuration for MST networks.
Swapping
Executing single-hop swaps directly in Solidity.
Liquidity Management
Minting positions, increasing/decreasing liquidity, and collecting fees via Solidity.
Data Access
Querying pool state, tick ranges, and active liquidity onchain.
Where to Go Next
New to Rapiddex contracts? Start with Getting Started to learn how to connect to MST networks, then move on to the Swapping guide.
