LI.FI x Gitcoin: Scaling Cross-Chain Contributions

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.
  • 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:

Our documentation can be found here:

Website: https://li.fi/

Contact: @philippzentner on Telegram, akshay@li.finance via email

5 Likes

I think this is a very thoughtful idea, because the idea of checking out only on Eth based makes the whole idea of decentralisation flopped.

Using a cross chain would not only help the donator but also the developers

1 Like

Thanks for information, i hope this news is good for everyone