OUTDATED REPO: CREATE PR IF YOU WISH TO CONTRIBUTE
Decentralized Application to store and verify the authenticity of Academic Certificates
Built using Ethereum on local blockchain setup and deployed on Ropsten test network.
Contract deployed at | 0xAC677Fd653576A70b9fAde4396caEE4AE21fc95a |
---|---|
RPC Network | Ropsten Test Network |
-
We need to install Node, Ganache and Truffle.
Download Node.js
Download Ganache & create a workspace.
For Truffle
npm i -g truffle
-
Install dependencies
Launch cmd in project folder path
npm install
after completion
cd client npm install
-
Deploy the smart contract to the local blockchain.
truffle migrate
If the contracts are modified, then they should be re-migrated.
-
Create account in MongoDB Atlas
-
Create a cluster and get the URI key, add it to .env file.
-
Create an account in Sendgrid
-
Verify single sender email and get the API key, add them to .env file
In project folder, for server
npm run dev
In client folder
npm start
The contract can be deployed in any test networks. We are using Ropsten test network with the help of truffle.
-
First of all we need to have a metamask account. When we create an account in metamask a mnemonic is given to us. You can read how to get a mnemonic here.
-
After that create a project in Infura. This will help us to use ropsten network through infura.
-
You will get an endpoint like this
https://ropsten.infura.io/yourapikey
. -
Add this API key, Ropsten Account address and it's private key in .env files.
-
Now you can deploy the smart contract using a single command:
truffle migrate
Install heroku-cli & follow the steps to deploy.
Certificate Id : b2a90ded903d7b07b47c1bec2b398fd788deef5f
Click here to view and verify certificate.
Arun Kumar M |
Dilip Vummaneni |
Gnanendra Prasad T |
Shashidhara N |
---|
Happy coding!! 😎