Giter VIP home page Giter VIP logo

prana's Introduction

PRANA

A proof of concept for a decentralized social networking app. Uses IPFS as the storage layer with IPFS hash pointers stored on the Ethereum Blockchain.

Some pre-requisites:

  1. Download and install Ganache. Ganache is an awesome tool that helps you run a personal Ethereum blockchain on your local machine and test out smart contracts and dapps. You can download the GUI version from here.
  2. Install the Truffle Framework using npm - npm install -g truffle
  3. To try out this dapp, it is best that you run an IPFS node. To do that you will have to download IPFS. You can follow the instructions provided on its official website to download and install IPFS.
  4. git clone the remote repository or download the zip file.

Usage Instructions:

  1. cd to root of the project.
  2. Now fire-up Ganache. Once thats done, let it run in the background and come back to your terminal window.
  3. Now that your personal Ethereum blockchain is up and running with the help of Ganache, its time to migrate the smart contracts to the blockchain. To do that, run the following command in the terminal - truffle migrate --reset.
  4. Once the smart contracts are successfully migrated, you will have to start your IPFS node. If you followed the instructions properly form its website, simply running the command ipfs daemon starts a node. Once you run the command, leave it open and open a new tab/window of the terminal. Make sure you cd to the root of the project if your current directory in this new tab is not that.
  5. Finally, in the new tab/window of the terminal run npm run dev. Next open your browser and run localhost at port 8008.

prana's People

Contributors

miraj98 avatar thechronicmonster avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.