dApp Description
Our dApp will take file as an input from user and upload it to IPFS by invoking Ethereum contract. The hash of the file will be stored on Ethereum.
- Take file as an input
- Convert file to buffer
- Upload buffer to IPFS
- Store hash of file returned by IPFS
- Get user’s Metamask Ethereum address
- User confirms transaction to Ethereum via Metamask
- IPFS hash is written on Ethereum
Tech Stack Involved
•React — Front end library
•Solidity — The language used to build smart contracts that runs on Ethereum
•IPFS — Decentralized storage
•Infura —API access to Ethereum network and IPFS