This project demonstrates a basic Hardhat use case. It comes with a sample contract, a test for that contract, and a script that deploys that contract.
Try running some of the following tasks:
npx hardhat help
npx hardhat test
REPORT_GAS=true npx hardhat test
npx hardhat node
npx hardhat run scripts/deploy.js
Welcome to the Pizza Shop App repository! This repository contains the source code for a decentralized pizza shop application built on the Ethereum blockchain.
The Pizza Shop App allows users to buy pizzas using cryptocurrency (Ether) and store the purchase information on the Ethereum blockchain. It utilizes smart contracts written in Solidity and a React frontend for the user interface.
- Buy pizzas using cryptocurrency
- Store purchase information on the Ethereum blockchain
- View transaction history
Before running the Pizza Shop App, ensure you have the following prerequisites installed:
- Node.js and npm
- Truffle Framework // for local network //not used in this project.
- I have used hardhat do some changes and make similar functionality.
-
Clone the repository:
git clone https://github.com/your-username/pizza-shop-app.git
Usage Use the Pizza Shop App interface to select a pizza type, quantity, and size, and proceed with the purchase.
Confirm the transaction in your local development network.
View the transaction history and purchase details in the app.
Contributing Contributions are welcome! If you'd like to contribute to the Pizza Shop App, please follow these steps:
Fork the repository.
Create a new branch for your feature/bugfix.
Make your changes and commit them.
Push your changes to your fork.
Submit a pull request.