Built with onchain kit
Points to base sepolia where contracts are deployed.
Can be run with bun run dev
Can run tests with forge test
Sample script simulating 1M ticket requests can be run with
forge script RunBigEvent --block-gas-limit 60000000000
Event Promoters can register their events on the EventRegistry
contract.
Users are able to request tickets for events.
Each event has a ticketing window where tickets can be purchased.
Users are also able to pre-request tickets before the ticketing window opens.
If an event is oversubscribed in the pre-request window, then the tickets will be randomly allocated to users.
When users register, they can provide a list of friends. The smart contracts will ensure that all the friends will receive tickets if the original user receives a ticket.
Tickets are issued as unique NFTs, with the capability to show further on-chain data.
Tickets are allocated via PRNG - it is possible that more tickets are allocated than intended.
- Ticket allocation can be sybil attacked.