Project-Preview.mov
This project implements an NFT ticketing system inspired by Ticketmaster! 🎟️ Leveraging blockchain technology, this feature enhances security, authenticity, and fan engagement by providing verifiable NFT tickets 🔒, leveraging smart contracts written in Solidity and interacting with the blockchain using Ethers.js. Thanks to DAPP University for the great learning resources! 🙌
- Solidity: Writing Smart Contracts & Tests (Version: ^0.8.9)
- Javascript: React & Testing
- Hardhat: Development Framework (Version: ^2.12.7)
- Ethers.js: Blockchain Interaction (Version: ^5.7.2)
- React.js: Frontend Framework (Version: ^18.2.0)
- MetaMask: Browser Extension for Blockchain Interaction
- Node.js: JavaScript runtime (Version: v18.20.5)
- Install Node.js: Recommended to use the LTS version (v18.20.5).
- Install MetaMask: Add MetaMask extension to your browser for interacting with the Ethereum network.
-
Clone/Download the Repository
Clone this repository to your local machine:
git clone https://github.com/your-username/ticketmaster-web3.git
-
Install Dependencies
Navigate to the project folder and install the required dependencies:
cd ticketmaster-web3 npm install
-
Run Tests
Execute the tests to ensure everything is set up correctly:
npx hardhat test
-
Start Hardhat Node
Start the local Hardhat network for deployment:
npx hardhat node
-
Run Deployment Script
In a separate terminal, run the deployment script to deploy the smart contract to the local Hardhat network:
npx hardhat run ./scripts/deploy.js --network localhost
-
Start Frontend
Start the React frontend to interact with the deployed smart contract:
npm run start
- NFT Ticket Booking: Users can book tickets as NFTs on the blockchain.
- Equal Ticket Distribution: Tickets are distributed fairly to prevent hoarding.
- MetaMask Integration: MetaMask is used for wallet connection and transactions.
- Smart Contract Testing: Comprehensive tests are written in Solidity to ensure security and functionality.
- DAPP university
- TicketMaster