An open API service indexing awesome lists of open source software.

https://github.com/shivamycodee/limit-order-hook

limit order hook for uniswap V4 in foundry.
https://github.com/shivamycodee/limit-order-hook

Last synced: about 1 year ago
JSON representation

limit order hook for uniswap V4 in foundry.

Awesome Lists containing this project

README

          

# Limit Order Hook for Uniswap V4 in Foundry

This project implements a limit order hook for Uniswap V4 in Foundry.

## Getting Started

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.

## Building the Project

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:

## Testing the Project

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:

## Usage

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).