Skip to main content

Quick Start

Then hop to the Local Node with a Mainnet Fork section to complete your setup.

Start from Scratch

Set Up Dependencies

Initialize Hardhat and follow the prompts (use a templated JS or TS project):
Install the V3 contract interfaces:
Ramses V3 uses interfaces compatible with Uniswap V3, so you can use the @uniswap/v3-periphery and @uniswap/v3-core npm packages for interface definitions. The actual contract addresses will differ based on the chain you’re deploying to.
Set the Solidity compiler version in ./hardhat.config.js:
Verify your setup:

Local Node with a Mainnet Fork

See the SDK getting started guide for a full example on how to use forks. Run tests against your local fork: