Final Project for Ethereum Developer Program by Andrei A.
Project can be accessed here : http://ipfs-uploader.surge.sh/
Description:
This Project is a POE for a platform which enables a user to upload files to IPFS , and check through the app’s database of existing files. The Smart Contracts have been deployed on Ropsten so you will interact with that testnet when accessing the app.
The project will have 1 actor:
The User (user of the IPFS service) The User will submit a file for upload , and will be able to check the files that have been previously uploaded on Ethereum.
Installation:
Prerequisites:
- node / npm and/or yarn
- Ethereum Browser (metamask or coinbase wallet)
- Static hosting
- truffle, ganache-cli
Install Truffle and Ganache CLI globally.
npm install -g truffle
npm install -g ganache-cli
Install dependencies:
npm install dotenv —save
npm install truffle-hdwallet-provider —save
Initialize Ganache-Cli with a pre-defined blocktime
ganache-cli -b 3
-Compile and Migrate smart contracts
truffle compile
truffle migrate
Run the webpack server for front-end hot reloading
npm run start
To build the application for production, use the build command. A production build will be in the build_webpack folder.
npm run build