Giter Site home page Giter Site logo

etheros_v1.2's Introduction

Plata Ethereum Blockchain DApp

This is an Ethereum-based DApp using IPFS. With this application users are able to sell and buy files (can be data files) using "ether". The file is stored on the InterPlanetary File Server (IPFS), a decentralized cloud storage platform. The file that is stored on the server is encrypted. Access control has also been added for the files such that once a file is bought it can be accessed again in the future without buying it again. This application also requires the user to use the extenstion Metamask; one can download this extension at that the following site: https://metamask.io/

Youtube: https://youtu.be/SnVOjttbFm4

For local development of frontend execute the following code:

  1. Download and install Ganache and metamask extension in suitable browser (chrome/firefox)

Ganche: https://www.trufflesuite.com/ganache

Netmask: https://metamask.io/

  1. Run Ganache Ganche: https://www.trufflesuite.com/ganache

  2. Import ganache accounts to metamask using the private key

There is a key symbol beside each account, click one of the account address and copy the private key. Now open MetaMask settings and click the option of import accounts. Inside the “Private Key” field, just paste the copied key information.

  1. Change metamask network to localhost 7545

Click top right icon -> settings -> networks -> local host 8545 -> change name and port to 7545 -> save

See similar details at https://www.linkedin.com/pulse/using-ganache-ethereum-emulator-metamask-farhan-khan/

  1. Download the repository using git clone

  2. Install necessary dependencies using npm

cd plata
npm install
npm install -g truffle
  1. Compile and then deploy contract to ganache network using below command
truffle compile
truffle migrate 
  1. Run website on local machine
npm run dev
  1. The website is now hosted at
localhost:3000/
  1. Run
node server
  1. Refer to video on how it works after it is hosted on localhost

etheros_v1.2's People

Contributors

reaper0146 avatar

Watchers

 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.