Ethereum Certificate DApp made for educational purposes.
Run the blockchain simulation (ganache)
ganache -i 5777
Also, run the IPFS Desktop application in parallel
Clone the project
git clone https://github.com/DEMYSTIF/next-certificate-dapp.git
cd next-certificate-dapp
Install dependencies
npm install
Test the contract using Hardhat
npm run test
Measure the contract coverage
npm run coverage
Add a 'defaultNetwork' in hardhat.config.js and deploy the contract
npm run deploy
Run the development server
npm run dev
Enable cors in IPFS config and restart IPFS Desktop
"API": {
"HTTPHeaders": {
"Access-Control-Allow-Origin": [
"*"
]
}
},
Open http://localhost:3000 with your browser to see the result
Distributed under the MIT License.
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/<feature_name>
) - Commit your Changes (
git commit -m '<feature_name>_added'
) - Push to the Branch (
git push origin feature/<feature_name>
) - Open a Pull Request