Skip to content

DAO, frontend build with react, has some anonymous chat functionality :)

Notifications You must be signed in to change notification settings

feerglas/dao-react

Repository files navigation

How to Build a Glorious Web3.0 DAO with React, Solidity, and CometChat

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 Project

Dominion DAO Project

Technology

This demo uses:

  • Metamask
  • Truffle
  • Infuria
  • ReactJs
  • Tailwind CSS
  • Ganache-CLI
  • Solidity
  • Web3js
  • Faucet

Running the demo

To run the demo follow these steps:

  1. 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.
  2. Create an Infuria project, copy and paste your key in the spaces below.
  3. Update the .env file with the following details.
    ENDPOINT_URL=<PROVIDER_URL>
    SECRET_KEY=<SECRET_PHRASE>
    DEPLOYER_KEY=<YOUR_PRIVATE_KEY>
  4. Create a CometChat project, copy and paste your key in the spaces below.
  5. 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>
  6. 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 ✌️

Useful links

About

DAO, frontend build with react, has some anonymous chat functionality :)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published