BaoPham92 / IPFS-ReactJS

This repo is going to be moving away from serving centralized client code to serving the project's backend in a decentralized format using IPFS and the Ethereum network.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About

Building a decentralized application requires stepping away from serving our app's code from typical web hosting services. One way to do this is by using a peer to peer distributed file system. IPFS which has a series of nodes connected to IPFS's network.

Tech Stack:

State of progress:

Currently we are able to communicate with IPFS to upload files and return a temporary persisting data from our client. This is done by using FileReader web API and Node.js's Buffer module to stream binary data to then be stored then returning a hash for retrieving the file.

Notes:

  • Keep Ganache running as part of your default (non-active) local node. Due to frameworks and dependancies that are attempting to keep up with big updates, you may have the chance to deal with something called "dependancy hell" (ground breaking changes as a result.)

For example: The boilerplate unbox for react on the Truffle framework was not up to date. Which lead to me manually figuring out the bugs from the recent commit.

Todo:

  1. Setting up IPFS and Infura next. Then testing data from Ropsten Etherscan for our start of our smart contracts.

About

This repo is going to be moving away from serving centralized client code to serving the project's backend in a decentralized format using IPFS and the Ethereum network.

License:MIT License


Languages

Language:JavaScript 82.6%Language:HTML 11.3%Language:CSS 6.1%