Discussion:
LI.FI is super interested in working with Gitcoin to expand the platformâs cross-chain contribution capability. This post is designed to begin a conversation about what a Gitcoin x LI.FI collaboration could look like. Here are our current thoughts.
End Goal:
Create a GCP from LI.FI that, once passed, will allow Gitcoin users to contribute tokens from any chain without having to leave the Gitcoin website.
Gitcoinâs Current Cross-Chain UI/UX
Gitcoin is the OG crypto fundraising platform. However, as it currently stands, Gitcoin only allows users to donate tokens from Ethereum, Zksync, and Polygon. Furthermore, when âchecking outâ on the Gitcoin site, a user who wants to donate DAI on Polygon or Zksync is met with a pop-up that looks like this:
Gitcoin then sends users to a new window to either 1) deposit funds on Polygon or 2) connect to a new wallet on Zksync. This type of user experience is challenging to navigate and off-putting â especially considering the median contribution is less than $2.
For Gitcoin to remain the premier crypto fundraiser, the user experience for donating needs to be SIMPLE and SMOOTH. In all practicality, Gitcoin needs to allow contributions from any chain, with any token, with the least amount of clicks necessary - which can be enabled with LI.FI.
What A LI.FI x Gitcoin Collaboration Could Look Like
With LI.FI, Gitcoin could accept any token from any chain on its front end via the âcheckoutâ button. Then, on the back end, LI.FI would facilitate a transfer to Polygon and a swap from any token to DAI â all in one click of the Polygon âcheckoutâ button. As Gitcoin scales the chains it accepts donations from, this functionality could be expanded past Polygon.
Three ways to integrate LI.FI
-
For the best UX: The LI.FI SDK
- Gitcoin can integrate LI.FI into its UI using our JS/TS SDK. This is the most efficient and optimal solution for Gitcoin. Through the LI.FI SDK, Gitcoin can fetch routes, fetch user balances, and execute transactions for cross-chain contributions.
While this does require a bit more developer input, LI.FI would be more than excited to dedicate a dev for the integration.
- Gitcoin can integrate LI.FI into its UI using our JS/TS SDK. This is the most efficient and optimal solution for Gitcoin. Through the LI.FI SDK, Gitcoin can fetch routes, fetch user balances, and execute transactions for cross-chain contributions.
-
A compromise: An additional page: Any Chain, Any Token Contribution Deposits
- Our team can help make Gitcoin a completely new contribution page. We recently pushed out an example of how this could look to help facilitate cross-chain donations to KlimaDAO.
-
Alternatively: The LI.FI Widget â easiest solution, but not as native of an experience
- Gitcoin can use our LI.FI widget to facilitate cross-chain cross-chain contributions in a matter of hours. This widget could be activated via a newly created âbridgeâ button on Gitcoinâs website, which would allow users to bridge tokens to Polygon or Ethereum from any of LI.FIâs supported chains.
Conclusion
LI.FI would be very excited to help Gitcoin integrate a cross-chain checkout solution (with the least developer burden possible).
We believe that offering one-click cross-chain contributions is a killer feature for Gitcoin and would love to help make this possible.
About LI.FI
LI.FI is the most advanced bridge aggregation protocol on the market. Audited twice (Code4rena - March â22, Quantstamp - April â22) and with a team of around 25 people, LI.FI aggregates 9 bridges across 15 EVM compatible chains and all available DEX aggregators & DEXs on those chains into a single solution.
Special features: whitelisting, blacklisting, and a âpreferâ function allowing integration partners to customize the suite of bridges that they utilize to their liking (e.g. if the project only trusts trust-minimized bridges like Connext & Hop).
List of supported chains, bridges, DEXs
Our widget and SDK are the ultimate cross-chain money legos for dApps to build on top of or plug into themselves.
- Weâve integrated multiple fallback bridges+DEXs so that you donât have to
- We maintain bridges+DEXs so that you donât have to
- We choose the best bridges based on our research so that you donât have to (positioning ourselves neutral)
For further examples of how LI.FI works, please refer to:
- Alchemix - SDK Integration
- Alps Finance â SDK integration
- Transferto.xyz â LI.FI B2C interface
- Cross-Chain Klima Staking â Custom built cross-chain staking product for Klima
Our documentation can be found here:
Website: https://li.fi/
Contact: @philippzentner on Telegram, akshay@li.finance via email