I
Iamoracle
Joined
icon image
Ethereum Community
0 REP
1 Feedbacks
1 Submission

Submissions

Submitted

TicketSub is a simple ticketing system for air travellers. This smart contract allows airlines to issue tickets. Every time a ticket is purchased, an NFT will be sent to the user. Users can by ticket using token which will be sent to the admin wallet. The user signs using their wallet to redeem the ticket for the actual flight. This confirms the possession of the ticket. This also prevents the administrator from redeeming user's ticket without their consent. The admin can delete an unsold ticket. Users can also transfer the NFT to other user but not the actual ticket.

20Points
2 Feedbacks

FEEDBACK

174 REP
Submitted

TicketSub is a simple ticketing system for air travellers. This smart contract allows airlines to issue tickets. Every time a ticket is purchased, an NFT will be sent to the user. Users can by ticket using token which will be sent to the admin wallet. The user signs using their wallet to redeem the ticket for the actual flight. This confirms the possession of the ticket. This also prevents the administrator from redeeming user's ticket without their consent. The admin can delete an unsold ticket. Users can also transfer the NFT to other user but not the actual ticket.

20Points
2 Feedbacks
Feedback

Thank you @Kishore,

The redeem function invalidates the tickets (when you are the airport).

I will go through your PR and merge if possible.