simibac/ticketing-dapp

[SC] Ticket Verification - Access Control

Opened this issue · 0 comments

How should a ticket be linked to an account?
One suggestion:

  • implement a function to store the passport number (or only the hash of it)
  • only users that submitted an passport number can buy tickets
  • implement verify function to check passport number, pubKey and ticketId