Case Study: Koi Finance
Koi finance integrate Zyfi's paymaster solution to offer the best on-chain user experiences.
Last updated
Koi finance integrate Zyfi's paymaster solution to offer the best on-chain user experiences.
Last updated
Koi Finance is one of the biggest DeFi applications on ZKsync in terms of activity and TVL. They offer a comprehensive suite of solutions for liquidity providers, including stable pools, concentrated liquidity pools, and staking farms for LP tokens. As a DAO, Koi Finance is governed by veKOI, a vote-escrowed NFT that enables holders to actively participate in treasury management and protocol rewards.
However, despite its innovations, Koi Finance, like many decentralized protocols, faces a recurring challenge: gas fees. These often unpredictable fees can hinder user engagement and complicate the experience of using decentralized applications (DApps). Every on-chain action, such as token swaps or withdrawing liquidity rewards, incurs gas costs that can discourage users from interacting with the platform frequently.
To address these challenges, Koi Finance has integrated Zyfi, leveraging Paymasters and Intents on ZKsync Era to optimize gas fee management. Through this collaboration, Zyfi enables several key improvements for Koi Finance users:
Free LP activities: Add/remove liquidity on their V3 and classic pools
Free Swaps: Gas-free swaps on their swap page
Free Rewards Collection: Collect rewards from their pool without gas fees
Free Locking/Unlocking: Locking governance tokens from Koi to veKOI is free
Thanks to Zyfi's integration, Koi Finance offers the best on-chain user experience, where users no longer need to think about gas fees.
Additionally, the gas fee sponsorship model has attracted new users to Koi Finance, encouraging them to try a system where transaction fees are sponsored, further boosting the platform's popularity on ZKsync Era.
To summarize, the UX/UI implementation followed a structured process:
The first step was to determine which on-chain actions and UI improvements to display. They aimed to eliminate gas fees for all on-chain actions (transactions and approvals).
The second step involved integrating the API into their front end, which took about 1 day, ensuring the correct on-chain actions were triggered to sponsor activities like swaps, LP deposits, and reward collections.
The final step was implementing changes to the UI. They added a simple box with the label "Gas-less" for all available on-chain actions. This took an additional 0.5 days of development time.
And that’s it! 🎉
In total, Koi Finance needed 1.5 development day to integrate the entire product into their front end, providing an exceptional on-chain experience for users.
Koi Finance attracted many users after the Zyfi integration, sponsoring over 52,000 transactions as of October 10, 2024, with an average of 800 sponsored transactions per day.
The integration of Zyfi with Koi Finance 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 Koi Finance to position itself as a leader on the ZKsync Era blockchain while providing users with a smoother, more affordable, and accessible experience.