- Install Prerequisites
-
Download and install NodeJS from Download
-
Install Visual Studio Code from Download
-
Install Ganache From Download
-
Install Metamask from Download
- 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
- Clone the Project
$ git clone https://github.com/Rushik-Ghuntala/blockchain-based-decentralized-research-publishing-system.git
- Install all the Dependencies
$ cd blockchain-based-decentralized-research-publishing-system
$ npm install
-
Run the local blockchain using desktop version of ganache
-
Compile and migrate all the contracts using the truffle
$ truffle migrate --reset
- 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
- Now run the application
$ npm start
- 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 signup.js file because in the code the journal is not register he can log in directly.