Open Th0rgal opened 5 months ago
Good afternoon, my name is Ugo, a fullstack dev. I am positive i can handle this, please can i be assigned the issue?
I am a passionate and results-driven web developer, currently deepening my knowledge in Web3 technologies, Cairo, and open-source development through Dojo Coding. My skill set includes experience in JavaScript, React, HTML, CSS, C#, and .NET Entity Framework. I am also proficient with tools like Git, GitHub, SQL Server, and Postman. My focus has been on building solid web applications—from task lists to full-fledged CRUD systems—integrating front-end, back-end, and databases. I already have a contribution in OnlyDust for Starknet Quest, and I am excited to continue learning and collaborating on innovative projects.
To optimize conversions by integrating AVNU into the checkout process, I propose the following steps:
Check balances: When the user reaches the checkout, we check their balances for all compatible tokens.
Calculate the shortfall: If they don’t have enough of one token, we calculate how much is missing and identify other tokens that can be sold to cover the difference.
Use AVNU: We use AVNU to swap those other tokens, selecting the cheapest route for conversion.
Multicall: All of this happens in a single transaction to make it quick and easy for the user, so they don’t have to perform multiple steps.
By implementing this solution, we can enhance the user experience by seamlessly converting their available tokens to complete the purchase, making the checkout process more efficient and user-friendly.
Still an idea atm: if a user doesn't have enough of a single compatible token to pay for his domain but has enough in total balance, use an aggregator like AVNU to offer him to sell certain other tokens to get his domain (everything in a multicall selecting the cheapest route).