This repository provides a starter template for building applications on Unicarbon, a decentralized exchange (DEX) dedicated to the Voluntary Carbon Market, powered by Uniswap V4. Unicarbon features a Buffer Pool, Carbon Credit Quality assessment, and Dynamic Fees to enhance trading efficiency and transparency in the carbon market.
Follow the steps below to set up and run the application:
-
Clone the repository:
git clone https://github.com/muhraf1/unicarbon
-
Navigate to the project directory:
cd unicarbondex- Install the required dependencies:
npm install- Start the front-end development server:
npm run dev
- Open a new terminal and navigate to the same project directory:
cd carbon-oracle-hooks- Deploy the smart contracts using Forge:
forge script script/DeployHook.s.sol --rpc-url <YOUR_RPC_URL> --private-key <YOUR_PRIVATE_KEY> --broadcast