Post
Share your knowledge.
Question about Kiosk
Hi there, I’m currently unsure about what advantages PersonalKioskCap has over KioskOwnerCap that make developers prefer it. Could you help clarify?
- Sui
Answers
3It’s not really about whether one is better than the other — it depends on the use case. KioskOwnerCap can be transferred to others, so the Mysten team created something called PersonalKiosk, which you can think of like a soulbound object.
Also, to ensure that an NFT is only sold to users who are using a PersonalKiosk, there’s a rule called personal_kiosk_rule.
You can read more details from the package here: https://github.com/MystenLabs/apps/blob/main/kiosk/sources/rules/personal_kiosk_rule.move
PersonalKioskCap offers a safer and more convenient way to manage your own kiosk. It essentially ties your control over a specific kiosk to your address, preventing accidental transfers or loss of the KioskOwnerCap object itself. This makes common operations simpler and much more secure, as you don't have to constantly pass around or worry about losing a transferable object just to interact with your own kiosk.
Do you know the answer?
Please log in and share it.
Sui is a Layer 1 protocol blockchain designed as the first internet-scale programmable blockchain platform.
- How to Maximize Profit Holding SUI: Sui Staking vs Liquid Staking616
- Why does BCS require exact field order for deserialization when Move structs have named fields?65
- Multiple Source Verification Errors" in Sui Move Module Publications - Automated Error Resolution55
- Sui Move Error - Unable to process transaction No valid gas coins found for the transaction419
- Sui Transaction Failing: Objects Reserved for Another Transaction410