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.
- Host: GitHub
- URL: https://github.com/shivamycodee/limit-order-hook
- Owner: Shivamycodee
- Created: 2023-10-18T10:21:09.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-10-18T10:27:48.000Z (over 2 years ago)
- Last Synced: 2025-02-13T06:51:33.091Z (over 1 year ago)
- Language: Solidity
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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).