These days, there are many tokens... meme-coin, airdrops, legacy coins which are not accepted anywhere as donations. On the other hands, organisations usually want to recieve a sum in stable coin, not a portfolio of tokens.
Donation Appreciation is a donation dApp accepting all ERC20 tokens. It allows you to 'sweep' your wallet of all of these tokens in one transactions. You save gas, avoid potentil tax implications of swapping them and support a good cause at the same time.
All the donated tokens are converted to USDC at once when their collective value reaches the target. The fundraisers can therefore capture the appreciation of a variety of the tokens, especially in bull markets or pumps.
Creating a fundraiser is quick and easy. The benefiting wallet is know from the outset, so the donor can see where the funds go and how they are eventually used.
Tech
When the donation hits the target (in USDC), UniSwap is used to swap all tokens for USDC, before transferring the USDC to the donation recipient address. To check if the donation ERC20 holdings are greater than the donation target before swapping, we create an EigenLayer AVS to verify this.
For more tech details, please see Readme on Github
-Testing the Uniswap V4 stuff was a challenge, our project is made with Hardhat. But we needed to use Foundry scripts to test the Uniswap flow, so as a workaround we used a seperate repo to test the Uniswap contracts.
-It was difficult to integrate EigenLayer with external protocols. Also we fixed a bug in the Hello World repo, which caused issues when executing the make commands. After the hackathon we will submit a PR to the repo for this. Also we added 1 additional step in the readme, to help people get started more easily.
-Deploying in Zircuit was very easy, and also verification of the contracts was very straight forward. Only issue was the frontend intergration. On the Scaffold-ETH 2 starter repo we could integrate almost all chains using viem, but Zircuit isn't available yet. See the available chains here. We added it manually in our project, and will submit a PR to viem to make it available for future developers.
Tracks Applied (10)
Linea
Mantle
Mantle
Zircuit.com
The Graph
Uniswap
EigenLayer
Optimism
Polygon
Technologies used
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