Skip to content

virtualvasu/Incident-app-Celo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Incident App on Celo

Smart Contracts Setup

  1. Navigate to the hardhat directory:
cd hardhat
  1. Configure your environment variables:
  • Copy from .env.template and create your .env file accordingly.
  1. Install dependencies:
npm install
  1. Compile the contracts:
npx hardhat compile
  1. Deploy the contracts to the Celo Alfajores testnet:
npx hardhat deploy ./ignition/modules/IncidentManagerModule.ts --network alfajores

Web Application Setup

  1. Navigate to the Incident-webapp directory:
cd Incident-webapp
  1. Install dependencies:
npm install
  1. Start the development server:
npm run dev

Note: Ensure that the Celo Alfajores testnet is added to your MetaMask wallet in your browser.

Deployed Contract

The smart contract is deployed at: 0x3ab0dCEF4F1A3d005B68F2527F96C47FAb656BAC on Alfajores Blockscout