Chain Event is a ticket management platform built on the Starknet blockchain, empowering users to effortlessly create, manage, and attend events as well as sell tickets.
The platform provides event organizers with tools to oversee events and mint Proof of Attendance NFTs for each attendee at the conclusion of the event.
You will need to have Scarb and Starknet Foundry installed on your system. Refer to the documentations below:
To use this repository, first clone it:
git clone mubarak23/chainevents-contracts
cd chainevents-contracts
To build the contracts, run the command:
asdf local scarb 2.8.3
asdf local starknet-foundry 0.31.0
scarb build
To run the tests contained within the tests
folder, run the command:
snforge test
Create Event Fetch my event (Backend Service) Register for an event RSVP for an event Mint POA for an Event RSVP Fetch all Register Attendee of an event
Each event will have a uniqueId Map create event function call with event Map <eventOwnerAddress, EventDetailsStruct>
User can register for multiple event Map Event UniqueId to Register user address – EventRegisterUser
Map Event UniqueId to Register user address – EventRSVPUsers
User the EventRSVPUsers Map to MINT POA NFT