Skip to content

Rushik-Ghuntala/blockchain-based-decentralized-research-publishing-system

Repository files navigation

Blockchain-based Decentralized Research Publishing System (B-DRPS)

How to run the Dapp?

  1. Install Prerequisites
  1. Make account on Web3.Storage
  • Get Api Key from Web3.Storage

  • Register and login to your account and Click on Account/create Api Token

  • Make .env file in a App directory and copy Api token into it

REACT_APP_WEB3_STORAGE_API_KEY = PASTE YOUR TOKEN HERE

  1. Clone the Project
$ git clone https://github.com/Rushik-Ghuntala/blockchain-based-decentralized-research-publishing-system.git

  1. Install all the Dependencies
$ cd blockchain-based-decentralized-research-publishing-system

$ npm install

  1. Run the local blockchain using desktop version of ganache

  2. Compile and migrate all the contracts using the truffle

$ truffle migrate --reset

  1. Log in your MetaMask and import the demo accounts to interact with the App.
  • For the demo accounts go to the ganache desktop make one demo workspace and you can see 10 demo accounts with 100 ETH

  • Now click on key icon you get private key of the accounts and import it to the metamask, add minimum 8 accounts for perfect testing.

  • For more information, click here

  1. Now run the application
$ npm start

  1. Now you are able to do interaction with the application.

Note: Here, we make journal is pre-registered so if you want to do testing then uncomment the line no. 36 in #.js file because in the code the journal is not register he can log in directly.

Releases

No releases published

Packages

No packages published