Getting Started
Configure your development environment and smart contracts to interact directly with the Rapiddex v3 protocol on the MST Network.
Connecting to MST Networks
To interact with Rapiddex v3, your decentralized application or smart contracts must communicate with a node on the MST network. Developers can deploy and test their contracts on the MST Testnet before migrating to Mainnet.
| Network Parameter | MST Testnet Value |
|---|---|
| RPC URL | https://testnetrpc.mstblockchain.com |
| Chain ID | 91562037 |
| Block Explorer | testnet.mstscan.com |
Importing Interfaces
To write Solidity smart contracts that interact with the protocol, import the interface definitions directly into your project files. This allows your compiler to verify the function signatures of the deployed Rapiddex contracts:
solidityimport "@rapiddex/v3-periphery/contracts/interfaces/ISwapRouter.sol";
import "@rapiddex/v3-periphery/contracts/interfaces/INonfungiblePositionManager.sol";
import "@rapiddex/v3-core/contracts/interfaces/IRapiddexV3Pool.sol";
You can reference the exact deployed addresses for the SwapRouter, Factory, and NonfungiblePositionManager on the Deployments page.
Where to Go Next
With your environment configured, proceed to:
- Swapping: executing single-hop trades
- Managing Liquidity: creating concentrated positions
- Fetching Pool Data: reading active ticks and slot0
