-
Notifications
You must be signed in to change notification settings - Fork 524
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TuxedoDapp milestone 2 #1171
TuxedoDapp milestone 2 #1171
Conversation
Hey @AltiMario , |
hi @PieWol thanks for your support. We managed to fix the frontend, however, a little tuning has to be done in the backend as well because the flag "not for selling" after a purchase doesn't reset. I believe it can be fixed this week and I will invite you for the (hopefully) final review asap. |
Perfect, thank you! |
Hey @AltiMario , |
hi, @PieWol, I think @NadigerAmit is going to share some information about it |
Hi @PieWol I am sorry for the late reply. The status of a kitty being "for sale" or not is determined by the blockchain logic. This information is stored as part of the transaction in the block, so the frontend does not control whether a kitty is for sale. The decision is based on whether the output kitty instance in the transaction is of type "Kitty piece" or "Tradable kitty piece." Our original game design is as follows: We categorized kitties into two types: When we want to sell a kitty, a "Kitty" is converted to a "TradableKitty" via the "List kitty for sale" process. Once a sale is completed, only the ownership of the kitty changes from the seller to the buyer, along with the transfer of funds. The type of the kitty remains "TradableKitty" even after the transaction. If the new owner does not wish to sell the purchased kitty, they need to submit a separate transaction to convert the "TradableKitty piece" back to a regular "Kitty piece" using the delist_kitty_from_sale API. Implementing a feature that automatically makes the purchased kitty "not for sale" would require changes to both the blockchain logic and the web service code. This would not be a straightforward modification and needs a significant effort. Therefore, I recommend maintaining the current design and implementation at this point in time. |
Thank you @AltiMario and @NadigerAmit , |
Hey @AltiMario , |
Hi @PieWol, |
Hey @AltiMario and @NadigerAmit , |
🪙 Please fill out the invoice form in order to initiate the payment process. Thank you! |
We noticed that this is the last milestone of your project. Congratulations on completing your grant! 🎊 |
Milestone Delivery Checklist
Link to the application pull request: w3f/Grants-Program#2112