I can work out how to mint NFTs with ERC721 or ERC1155 contracts where each NFTs metadata points to some data on IPFS with the ticket and event information.
I can also implement a smart contract function that allows user wallets to claim these NFTs and transfer then into their own wallet.
I am a bit lost though how "using" a ticket to gain entry should work though.
Obviously at the point of entry, the user has to first prove they own the NFT and then 'spend' the NFT to gain access. I assume that on access to the event that the organizer should have the power to burn the ticket or something.
THis might mean that when the user first claims the NFT that as part of that function the NFT is approved (setApprovalForAll(address operator, bool approved)) for the organizer to basically transfer from them and subsequently burn?
[link] [comments]
You can get bonuses upto $100 FREE BONUS when you:
π° Install these recommended apps:
π² SocialGood - 100% Crypto Back on Everyday Shopping
π² xPortal - The DeFi For The Next Billion
π² CryptoTab Browser - Lightweight, fast, and ready to mine!
π° Register on these recommended exchanges:
π‘ Binanceπ‘ Bitfinexπ‘ Bitmartπ‘ Bittrexπ‘ Bitget
π‘ CoinExπ‘ Crypto.comπ‘ Gate.ioπ‘ Huobiπ‘ Kucoin.
Comments