Read the full tutorial here: >> How to Build a Lottery DApp with NextJs, Solidity, and CometChat
This example shows How to Build a Lottery DApp with NextJs, Solidity, and CometChat:



This demo uses:
To run the demo follow these steps:
```sh
# Make sure you have the above prerequisites installed already! git clone https://github.com/Daltonic/dapplottery dappLottery cd dappLottery # Navigate to the new folder. yarn install # Installs all the dependencies. ```
Head to CometChat and create a project.
Create a .env.local file to include the following details.
sh
NEXT_PUBLIC_APP_ID=<APP_ID>
NEXT_PUBLIC_AUTH_KEY=<AUTH_KEY>
NEXT_PUBLIC_REGION=<REGION>
yarn devIf your confuse about the installation, check out this TUTORIAL to see how you should run it.
Questions about running the demo? Open an issue. We're here to help ✌️
$ claude mcp add dapplottery \
-- python -m otcore.mcp_server <graph>