EventTicket is a decentralized application that offers a blockchain solution for ticket providers. It offers customers the benefits and security of the ERC-721 standard. In our system, an NFT represents an event ticket (ETCKT token) which is essentially transferred to the purchaser. The system also allows potential buyers to purchase tickets that have already been purchased, directly from the owner. Purchase offers can be controlled by limiting the amount of resales for a particular event and the price increases can be set by the event organizers to limit or control ticket scalping.
- Solidity
- Remix
- OpenZeppelin
- Python
- Jupyter notebook
- web3 py
- Infura
- Rinkeby testnet
- Ganache
- Metamask
-
Compile and deploy the contract on the Rinkeby testnet using Remix.
-
Copy the address of the contract and paste it under EVENTTICKET_ADDRESS in env.txt.
-
Copy the private key of the account you used to deploy your contract and paste it under ACCT_PRIV_KEY in env.txt.
-
Rename the env.txt file to .env
-
Run jupyter notebook and open the EventTicket notebook.
-
Once connected, try to run thorugh the purchase scenarios from the process flows above. Enjoy!
-
If interested in how web3 is helping us connect to the contract on the blockchain, have a look through our helper code ticket.py here.