count-sum / IPFS-Uploader

Final Project for Consensys 2019 Ethereum Developer Program by Andrei Alexandru

Home Page:http://ipfs-uploader.surge.sh/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IPFS-Uploader

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:

  1. node / npm and/or yarn
  2. Ethereum Browser (metamask or coinbase wallet)
  3. Static hosting
  4. 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

About

Final Project for Consensys 2019 Ethereum Developer Program by Andrei Alexandru

http://ipfs-uploader.surge.sh/


Languages

Language:JavaScript 92.2%Language:Solidity 3.3%Language:CSS 2.8%Language:HTML 1.6%