Skip to content

NFT event ticketing system on Ethereum that allows customers to purchase and resell NFT event tickets and allows event organizers to specify min and max resale price and percentage of all resale royalties.

License

Notifications You must be signed in to change notification settings

mgysel/nft-ticketing

Repository files navigation

TicketChain

TicketChain is an NFT event ticketing system that allows event organizers to create events and customers to purchase tickets, all on the Ethereum blockchain. This was originally built for UNSW's Software Architecture for Blockchain-based Applications, but it has since been expanded. The hosted web application on the Ethereum Sepolia Test Network can be viewed here.

Installation and Dependencies

Quick start

The first things you need to do are cloning this repository and installing its dependencies:

git clone https://github.com/mgysel/nft-ticketing.git
cd hardhat-boilerplate
npm install

Once installed, let's run Hardhat's testing network:

npx hardhat node

Then, on a new terminal, go to the repository's root folder and run this to deploy your contract:

npx hardhat run scripts/deploy.js --network localhost

Finally, we can run the frontend with:

cd frontend
npm install
npm start

Open http://localhost:3000/ to see your Dapp. You will need to have Metamask installed and listening to localhost 8545.

User Guide

You can find detailed instructions on using this repository and many tips in its documentation.

For a complete introduction to Hardhat, refer to this guide.

What's Included?

This repository uses our recommended hardhat setup, by using our @nomicfoundation/hardhat-toolbox. When you use this plugin, you'll be able to:

This project also includes a sample frontend/Dapp, which uses Create React App.

Troubleshooting

  • Invalid nonce errors: if you are seeing this error on the npx hardhat node console, try resetting your Metamask account. This will reset the account's transaction history and also the nonce. Open Metamask, click on your account followed by Settings > Advanced > Clear activity tab data.

About

NFT event ticketing system on Ethereum that allows customers to purchase and resell NFT event tickets and allows event organizers to specify min and max resale price and percentage of all resale royalties.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published