Transferable Ticket Creation (Ticket NFT)
Any questions feel free to contract oscaryiu.lapsang@gmail.com.
I love sunset rollercoaster and they will have a concert on 2021/10/8 in Hong Kong! However, I have no ticket(E-tickets with qr code) so I would like to buy second hand ticket... Then the problems come out...
Problem | Solution |
---|---|
Someone pretend they have the ticket | A function that I can check the one is owner or not. |
Someone have one ticket but capture the qrcode and sell to multiple person | Make ticket as ERC721 troken! each sell is a troken transfer, no need to capture qrcode. |
I afraid someone will take a photo to my qrcode and go the concert before me. | Renew QR code anytime if you want! |
- implement rest api for ticket metadata etc. location...
- public to public testnet
- transfer ticket on Opensea
- buy ticket with ether
- Create Campaign
- Create Campaign ticket category
- Validate QR code
- Buy ticket
- Transfer ticket
- Renew QR codes
- Show all owner
- Read ticket data
- truffle
- yarn/npm
- metamask
git checkout campaign-factory-demo
cd contract
yarn install
cd demo/ui
yarn install
- setup local Ganache RPC Server 127.0.0.1:8545
cd contract
truffle deploy
- copy contract address to demo/ui/src/ethereum/CampaignFactory.js and replace campaignFactoryAddress value
cd demo/ui
yarn start