-
-
Notifications
You must be signed in to change notification settings - Fork 364
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
✨ swap page landing #11163
base: main
Are you sure you want to change the base?
✨ swap page landing #11163
Conversation
roiLeo
commented
Oct 23, 2024
•
edited
Loading
edited
- closes Create Swap Page #11128
- /:prefix/swap
✅ Deploy Preview for koda-canary ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice!
@roiLeo I see that the pr does not close the issue, do you want to finish it ? otherwise I can take over.
can you
Yea it's WIP, feel free to take it if you need to ship it faster
yes, that would be ideal
noted! ty |
@hassnian any way to split the work? so we don't erase each other stuff |
yeah it's gonna be hard since its a lot of new code, I'll let you finish it. I can work on something else in the meantime |
Well how swap works:
So my recommendation is that one can start with item detail:
The Swap page (cc @exezbcz):
You can either send or receive |
However I like also your idea to invite a "conter-party" so you can easily look for "his/hers" nfts |
sure i'll replace |
Yes offered_collection_id: T::CollectionId,
offered_item_id: T::ItemId,
desired_collection_id: T::CollectionId,
maybe_desired_item_id: Option<T::ItemId>, as I have mentioned in #11163 (comment) You need to provided NFT you want to swap (offered_collection_id, offered_item_id)
and yes It can be anything e.g I have nft (ahp: 263-4231008173) and I want this NFT (ahp: 152-2406426862) which is from collecton (152) Hope it makes sense now |
Quality Gate passedIssues Measures |
I'm removing myslef and asking @preschian for a review since there's a lot of my code on this pr |