The frontend of the application is built using React. Follow these steps to get it up and running:
- Navigate to the
frontend
folder using your terminal. - Run the following command to install the required dependencies:
npm i
- Once the installation is complete, start the development server with:
npm run dev
Open your browser and navigate to http://localhost:3000 to see the application in action.
Don't forget to update any necessary addresses or configurations for backend integration.
The backend of the application uses Hardhat for smart contract development and deployment. Follow these steps:
- Navigate to the
backend
folder using your terminal. - Run the following command to install the required dependencies:
npm i
Compile the smart contracts using Hardhat:
hh compile
Run the local Hardhat node:
hh node
Deploy the contracts to the local network using the provided deploy script:
npx hardhat run --network localhost scripts/deploy.js
Important: Make sure to update any addresses or configurations as required.
Remember to copy the relevant files to the respective folders and follow these instructions to ensure a smooth setup.
Note: The addresses, configurations, and other specific details might vary based on your project requirements.