Koseli: A Comprehensive Overview of Raffles

Koseli

Koseli is a platform to build, engage, and reward communities, both online and offline. It allows event managers to provide attendees with a token of participation in the form of a reward which could include Bumper Prizes. This article provides a detailed overview of the user flow and the roles of different actors in the Koseli platform.

Koseli is currently live in the SUI Blockchain and is rewarding participants who come to SUI Basecamp in Paris on April 10–11.

Key Actors

Koseli Admin

The journey begins with the event organizer requesting the Koseli Admin(Super Admin) to create an event. This request can be made through Discord or any other social handle. Once all verifications are passed, the Koseli Admin creates the event and passes the EventAdminCap to the event organizer. This capability allows the event organizer to create and manage the event.

Event Organizer

Event organizers play a crucial role in setting up stalls for users and creating special Invitation NFTs. Users must request a stall from the event organizer, who, upon approval, creates the stall and passes the StallCreatorCap to the stall owner.

Stall Manager

Stall managers are responsible for creating goodies where participants can try their luck. They also have the option to include NFTs from other individuals, such as Fuddies NFT. Stall managers can establish criteria to ensure that only authentic claims are verified, and only the designated address receives an item from the goodie bag. They can also add their bumper prizes. Those who have already claimed the goodies are eligible to claim the bumper prizes.

User

Users can claim NFTs and participate in events by using links provided in event invitations sent by the event manager. To claim goodies at stalls, users must possess either a special NFT or a general NFT. If a user does not have a special NFT, they can still claim goodies by scanning a QR code.

Interaction on Smart Contracts Side

The smart contracts side involves several shared objects and capabilities, including Koseli Registry, KoseliCap, EventAdminCap, and StallCreatorCap. The handle_event_creator() function is used to create events for the requested user, and the user is tracked as a verified address in the Koseli Registry shared object. The EventAdminCap is passed to the Event Organizer.

The create_stall() function allows the Event Organizer holding EventAdminCap to create the stall. First, users need to request the Event Organizer to create a stall for them. The Event Organizer then creates a stall for them and passes the StallCreatorCap.

The goodie_bag flow involves creating a GoodieBagList shared object and adding items to it. The set_merkle_root() function is used to update the Merkle root value in the GoodieBagList.

Conclusion

Koseli offers a unique and interactive platform for event organizers, stall creators, and users. By leveraging the power of blockchain and smart contracts, it ensures a secure and transparent environment for all participants.

We will be at SUI Basecamp on 10–11 April showcasing our platform! Join us there!

Keep updated with us on our socials!

Website: https://koseli.xyz/
Twitter/X: https://twitter.com/koselixyz
Discord: https://discord.gg/4dG7u3PKeW

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Koseli
Koseli

Written by Koseli

Your gateway to Build, Engage, and Reward Communities in Web3.

No responses yet

Write a response