Bitcoin / Stacks
Admit
Event ticketing on Stacks: sell for STX, mint NFT tickets, check people in.
Overview
Organisers create events with a price and capacity; buyers pay in STX and receive an NFT ticket; door staff verify ownership and check people in on-chain. Built with my own Scaffold Stacks CLI, which made it a real-world test of the tool.
What I built
- An event-ticketing contract with create-event, buy-ticket, check-in, deactivate-event and transfer
- Read-only verify-ticket, owner indexes and per-owner ticket enumeration for the My tickets page
- Simnet tests and regenerated TypeScript hooks through stacksdapp check, generate and test
How it flows
ArchitectureLive
Admit
01Create event
02Buy with STX
03Mint NFT ticket
04Verify
05Check in
Clarity 6ClarinetNext.js 15Jotai@stacks/connectVitest
On-chain
| Stacks testnet | event-ticketingST3XHHZ1CXVCNYXK3FQ1FDGJ9NK6YBJBJK3FVY5KQ.event-ticketing |
