This dApp is basically a confession platform where you can confess anonymously ,you can make multiple confessions. As Valentine week was approaching we thought of creating some platform where one can pour out one's inner feelings without getting revealed his/her identity.This dapp uses salient feature of blockchain anonymity .
while making this dapp we came across many challenges like while integrating blockchain with dynamic front-end ,clubbing blockchain responses with JSX.While transacting with metamask we came across rpc errors.One of the major challenge was configuration with the generated abi.
- Language :- Solidity
- Web3Provider : Metamask
- Local blockchain :- Ganache
- Run-time env :- Truffle-suite
- Framework :- ReactJs
These steps are for testing the inerface of this dApp you can deploy it on any test network other than Ganache. We deploy using Matic network which make the transaction very fast which will became helpful in the case of a large College or University.
Here is what to do....
-
Clone the repository from Github ( link : https://github.com/Rishabh3321/dConfess_final )
-
npm install
(install all dependencies) -
Install Metamask in your default browser
-
Configre
.secret.json
file for development purpose and select ganche rpc on Metamask. -
truffle migrate --reset
(it will compile the contract deploy and provide you the build files) -
Now run command
npm run start
wait for a while then, you will see the dApp in your browser. -
Enjoy expressing your feelings..