Cross-chain Gitcoin Donations

Cross-chain Gitcoin Donations

Donate to Gitcoin public goods from any major EVM chain and Bitcoin.

98
Built at ETHDenver 2024
BUIDL with tBTC SDK - Prize(s)
F4
Cross-chain Gitcoin Donations

Cross-chain Gitcoin Donations

Donate to Gitcoin public goods from any major EVM chain and Bitcoin.

The problem Cross-chain Gitcoin Donations solves

There is a conflict of interest between L2s sponsoring Gitcoin rounds, and donors. L2s want to have rounds run exclusively on their chains, while donors want to be able to donate from any network where their money is. We're solving this problem by building an indepepndent frontend interacting with Gitcoin smart contracts and enabling cross-chain donations from all major EVM chains and Bitcoin*.

*Bitcoin integration has not been completed, please see the second bullet point in the challenges section.

Challenges we ran into

  • The core feature of Gitcoin is to match donations from individual donors with funds from a matching pool provided by sponsors. The distribution of the matching pool is determined based on the number of donations, the amount donated, and the reputation of the donors. Our solution introduces a bridging interaction between the donor and the Gitcoin contract, which makes it challenging to determine the original donor. We solved this problem by issuing onchain attestations on the Base network via the Ethereum Attestation Service. This provides a relatively easy way for Gitcoin to account for these donations in their matching calculations.
  • The tBTC SDK nmp package has a nested dependency on a package that was hacked on npm in 2021. After our team member’s IDE printed critical vulnerability & malware alerts, he stopped working on the integration until the Threshold team confirmed that it’s safe to use. Unfortunately, this happened on the day before the submission deadline and there was no time to finish the integration.

Tracks Applied (5)

Impact & Public Goods

Our projects solves one of the biggest UX problems of Gitcoin, one of the leading public goods funding mechanisms.

Simplify DeFi with 0x APIs

We are using 0x price API to get the current USD/ETH exchange rate.

0x

Across: Web2 Cross-chain UX for Your Dapp!

We are using Across V3 protocol to bridge donations from supported EVM chains to the chain on which a Gitcoin round is r...Read More

Across Protocol

Public Goods Funding Platform

Our projects solves a major UX problem of Gitcoin, one of the leading public goods funding mechanisms, by enabling cross...Read More

Base

BUIDL with tBTC SDK

We were planning to integrate Threshold tBTC SDK to handle Bitcoin donations. After BTC is deposited, tBTC would be swap...Read More

Threshold

Cheer Project

Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.

Discussion