Skip to content
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

Marketplace Checkout with Swaps #293

Open
BellringerQuinn opened this issue Feb 18, 2025 · 0 comments
Open

Marketplace Checkout with Swaps #293

BellringerQuinn opened this issue Feb 18, 2025 · 0 comments

Comments

@BellringerQuinn
Copy link
Collaborator

BellringerQuinn commented Feb 18, 2025

Now that we have #193 and #244, let's combine the two. As an example, if a user wants to purchase an ERC1155 priced in USDC, but they only have WMATIC. The SDK should fetch a quote for them to buy the ERC1155s in WMATIC (by getting a SwapPrice for the required amount of USDC) and, if accepted, the SDK should batch the swap and purchase transactions together and execute them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant