Case Study: SyncSwap
The integration of Zyfi plays a crucial role in enhancing SyncSwap users' experience by offering FREE swaps and LP activities on ZKsync.
SyncSwap is the biggest DEX on ZKsync in terms of TVL ($25M). They started their journey on this blockchain and provide different types of liquidity pools, including Classic Pools (x∗y=k), Stable Pools (x+y=k), and Concentrated Liquidity Pools.
Gas Fees Management
High gas fees remain one of the main obstacles for blockchain users. While ZKsync is known for its lower transaction costs compared to Ethereum, active DeFi users still face fees that can quickly accumulate, especially for those who frequently transact or provide liquidity on decentralized protocols like SyncSwap.
Implementation of Zyfi
To address these challenges, SyncSwap has integrated Zyfi, leveraging Paymasters and Intents on ZKsync Era to facilitate and optimize gas fee management. Through this collaboration, Zyfi introduced several key improvements for SyncSwap users:
Gas-free swaps: SyncSwap users pay no fees when swapping.
Gas-free LP activities: Whether providing liquidity to any type of pool or removing liquidity, users pay no fees for their on-chain activities on SyncSwap.
Thanks to Zyfi's integration, SyncSwap has significantly enhanced the user experience. Users can now avoid the complexity of managing native network tokens for each transaction while enjoying gas-free transactions.
Additionally, the gas fee sponsorship model has attracted new users to SyncSwap, encouraging them to try a system where transaction fees are sponsored, further boosting the platform's popularity on ZKsync Era.
UX/UI Implementation
To summarize the points mentioned above, the UX/UI implementation followed a structured process:
1/ The first step was to determine which types of on-chain actions and UI improvements they wanted to display. In this case, they aimed to allow users to pay no gas fees on swaps and LP activities.
2/ The second step involved integrating the API into their front end, which took about 0.5 day, while ensuring the correct on-chain actions were triggered to sponsor activities like swaps and LP depositing and withdrawing.
3/ The final step was to implement changes on the UI side. They decided to create a simple box on the swap page to inform users that the swap or LP activities are gas-free and sponsored by Zyfi. They also added a message: "This transaction is GAS-FREE, sponsored by Zyfi" in the success box. This took another 0.5 day of development time.
And that’s it! 🎉
In total, SyncSwap needed 1 development day to integrate the entire product into their front end, providing an exceptional on-chain experience for users.
Results
In terms of results, SyncSwap attracted many users during the release of the Zyfi integration and has sponsored over 23,000 transactions as of October 1st, 2024, with an average of 500 sponsored transactions per day.
Conclusion
The integration of Zyfi with SyncSwap represents not just a technological breakthrough but also a revolution in user experience within the DeFi space. By removing the constraints related to gas fees on swaps and LP activities, Zyfi has enabled SyncSwap to position itself as a leader on the ZKsync Era blockchain while providing users with a smoother, more affordable, and accessible experience.
Last updated