This project implements a limit order hook for Uniswap V4 in Foundry.
To get started with this project, you need to clone the repository to your local machine. You can do this by running the following command in your terminal:
git clone https://github.com/Shivamycodee/limit-order-hook
Once you have cloned the repository, navigate into the project directory.
To build the project, you need to run the forge build
command. This will compile the project and prepare it for testing. Here's how you can do it:
After building the project, you can run the tests using the forge test
command. This will execute all the tests in the project and provide you with the results. Here's how you can do it:
If you encounter any errors during testing, you can use the -vvvv
option to get detailed error messages. Here's how you can do it:
The project uses Foundry, a fast, portable, and modular toolkit for Ethereum application development written in Rust. It includes several tools like Forge (a testing framework), Cast (for interacting with EVM smart contracts), and Anvil (a local Ethereum node).