Event ticket NFTs with anti-scalping on ProbeChain Rydberg Testnet (Chain ID: 8004).
Create events, mint tickets, validate at venue, transfer with anti-scalp price cap (max 1.5x).
createEvent(name, date, venue, maxTickets, price)-- Create an eventmintTicket(eventId)payable -- Buy a ticketvalidateTicket(ticketId)-- Scanner validates at venuetransferTicket(to, ticketId, resalePrice)-- Transfer with anti-scalp
cp .env.example .env
npm install
npx hardhat compile
npx hardhat run scripts/deploy.ts --network rydberg- Chain ID: 8004
- EVM: London
- Solidity: 0.8.24