Events example for CED.
Clone the project
git clone https://github.com/Kerala-Blockchain-Academy/ced-dapp-events.git
cd ced-dapp-events
Install dependencies
npm install
Create a '.env' and add the following variables
CHAIN=sepolia
API_KEY=<your-alchemy-api-key>
PRIVATE_KEY=<your-ethereum-private-key>
Deploy the contract
npm run deploy:sepolia
Start the application
npm run dev
Start the event listener (new terminal)
npm run events
Open browser for UI