Read the full tutorial here: >> How to Build a Glorious Web3.0 DAO with React, Solidity, and CometChat
This example shows How to Build a Glorious Web3.0 DAO with React, Solidity, and CometChat:
Dominion DAO ProjectThis demo uses:
- Metamask
- Truffle
- Infuria
- ReactJs
- Tailwind CSS
- Ganache-CLI
- Solidity
- Web3js
- Faucet
To run the demo follow these steps:
- Clone the project with the code below.
# Make sure you have the above prerequisites installed already! git clone https://github.com/Daltonic/dominionDAO PROVIDER_NAME cd PROVIDER_NAME # Navigate to the new folder. yarn install # Installs all the dependencies.
- Create an Infuria project, copy and paste your key in the spaces below.
- Update the
.env
file with the following details.ENDPOINT_URL=<PROVIDER_URL> SECRET_KEY=<SECRET_PHRASE> DEPLOYER_KEY=<YOUR_PRIVATE_KEY>
- Create a CometChat project, copy and paste your key in the spaces below.
- Update the
.env
file with the following details.REACT_APP_COMET_CHAT_REGION=<REGION> REACT_APP_COMET_CHAT_APP_ID=<APP_ID> REACT_APP_COMET_CHAT_AUTH_KEY=<AUTH_KEY>
- Run the app using
yarn start
If 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 ✌️