DappChat is a real time messaging app hosted on the Ethereum blockchain. By storing our data on the blockchain, DappChat allows people from around the world to communicate without restrictions.
Many people around the world live in oppressive regimes and do not have the right of free speech. They are prevented from sharing literature, censored from current events, and prohibited from criticizing bad actors in their government. Our tool allows people to share information and peacefully coordinate, free from unwanted interference. Live demo.
-
npm i
on root directory and app directory -
Download and open up Ganache (https://www.trufflesuite.com/ganache)
-
Compile contracts using command
truffle compile
(If you do not have truffle installed globally use./node_modules/.bin/truffle compile
) -
Migrate using command
truffle migrate
(If you do not have truffle installed globally use./node_modules/.bin/truffle migrate
) -
Create a .secret file in your root directory.
-
In Ganache, create a new workspace, and in the server section, change the port number to 8545 and save.
-
Copy and paste the 12 word mnemonic from Ganache into the .secret file
-
Download Metamask extension for your browser and log in to Metamask using the Ganache seed account (12 word mnemonic from step 6)
-
Change metamask network to localhost 8545
-
npm run start
in App folder