Skip to content

Commit

Permalink
manual setup
Browse files Browse the repository at this point in the history
  • Loading branch information
saucepoint committed Oct 3, 2024
1 parent 29cae97 commit f191b93
Showing 1 changed file with 25 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,28 @@ forge install

---

## Manual

(TODO: Add instructions for manual setup)
## Manual Setup

After cloning the repository, and installing foundry, developers can manually set up their Uniswap v4 environment:

1. Initialize a foundry project
```bash
forge init . --force
```

2. Install dependencies
```bash
forge install uniswap/v4-core
forge install uniswap/v4-periphery
```

3. Set the `remappings.txt` to:
```
@uniswap/v4-core/=lib/v4-core/
forge-gas-snapshot/=lib/v4-core/lib/forge-gas-snapshot/src/
forge-std/=lib/v4-core/lib/forge-std/src/
permit2/=lib/v4-periphery/lib/permit2/
solmate/=lib/v4-core/lib/solmate/
v4-core/=lib/v4-core/
v4-periphery/=lib/v4-periphery/
```

0 comments on commit f191b93

Please sign in to comment.