A basic reactJs web page using IPFS for file upload and blockchain for storing the hash
In this application you can upload any picture using IPFS. The hash is stored through a smart contract. Since this is a pet project I am using ganache. Users can also vote the image of their choice by giving there public address. (It is to be noted that since ganache is used, there is no need of signing transactions and hence no private key is needed)
To use it:
- Install ganache and node js
- Clone the repository
- In terminal type
npm install
- Start ganache(ensure it is running on port 7545) and type
truffle migrate
- Type
npm run start