Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nawodyaishan/tokenmaster-dapp-hardhat-react-ethers
TokenMaster is an Ethereum-based NFT ticketing system built with Solidity, Hardhat, and OpenZeppelin contracts. It allows event organizers to create and manage events, issue NFT-based tickets, and handle ticket sales and ownership securely on the blockchain.
https://github.com/nawodyaishan/tokenmaster-dapp-hardhat-react-ethers
blockchain dapp ethereum evm hardhat nextjs smart-contracts solidity ticketing-system typescript
Last synced: 14 days ago
JSON representation
TokenMaster is an Ethereum-based NFT ticketing system built with Solidity, Hardhat, and OpenZeppelin contracts. It allows event organizers to create and manage events, issue NFT-based tickets, and handle ticket sales and ownership securely on the blockchain.
- Host: GitHub
- URL: https://github.com/nawodyaishan/tokenmaster-dapp-hardhat-react-ethers
- Owner: nawodyaishan
- Created: 2024-01-13T21:08:23.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-31T09:00:25.000Z (about 1 year ago)
- Last Synced: 2024-11-21T03:44:59.069Z (3 months ago)
- Topics: blockchain, dapp, ethereum, evm, hardhat, nextjs, smart-contracts, solidity, ticketing-system, typescript
- Language: TypeScript
- Homepage:
- Size: 818 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TokenMaster NFT Ticketing System
## Overview
TokenMaster is an Ethereum-based NFT ticketing system built with Solidity, Hardhat, and OpenZeppelin contracts. It
allows event organizers to create and manage events, issue NFT-based tickets, and handle ticket sales and ownership
securely on the blockchain.## Features
- Create and manage events with unique properties.
- Mint NFT tickets for each event.
- Ensure ticket authenticity and ownership.
- Withdraw funds securely.## Prerequisites
- Node.js
- Yarn package manager
- Ethereum wallet with testnet ETH
- Hardhat## Installation
```bash
git clone [repository URL]
cd [project directory]
yarn install
```## Smart Contract Deployment
To deploy the TokenMaster contract, run:
```bash
yarn hardhat run scripts/deploy.ts --network [network name]
```## Usage
### Setting Up Events
To set up an event, modify the `EventData.ts` file with event details and run the deployment script.
### Minting Tickets
Tickets can be minted through the `mint` function by specifying the event ID and seat number.
### Withdrawing Funds
The contract owner can withdraw collected funds using the `withdraw` function.
## Testing
Run tests using Hardhat:
```bash
yarn hardhat test
```## Security
This project uses OpenZeppelin contracts for standard security practices in Ethereum development.
## Contributing
Contributions are welcome. Please fork the repository and submit a pull request.
## License
This project is licensed under the MIT License.
## Disclaimer
This project is for educational purposes and should be used cautiously in a production setting.