project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4
project screenshot 5
project screenshot 6

Donate3-InOne

Donate3-inone is a cross-chain donation tool that allows recipients to receive donations from different chains on one chain with just a simple configuration. We hope to lower the barrier to using blockchain and make charity+web3 even simpler.

Donate3-InOne

Created At

ETHOnline 2023

Project Description

Donate3-inone is another new attempt in the donation field by Donate3 team under LXDAO organization. After a long period of practice, we found that although donating through the chain has greater advantages in terms of transparency of donations, protection of donors' privacy, and cross-border payments, which has aroused a lot of people's interest, getting started with blockchain is still not a small challenge for ordinary people. Therefore, we hope to simplify the wallet creation process, aggregate donations, improve the donation notification process, and lower the threshold of web3 usage, so that more users can enter the web3 world to try and experiment with on-chain donation. In this hackathon we have newly built a demo of a cross-chain donation tool, which is an attempt of ours and may be integrated into our main product Donate3 in the future. Its usage flow is as follows:

  1. Donatee creates a safe AA account wallet.
  2. Donatee sets up his/her donation component information on the configuration page, including: nickname, address, chain network where he/she expects to receive assets, avatar, theme color, etc.
  3. Users can then share their donation link with their fans, supporters and other donors.
  4. Donors can access the donation link on any blockchain network, choose their own donation amount, leave a message, etc., and interact with the contract to complete the donation.
  5. The donation will be transferred across the Axelar chain to the target chain set by the recipient.
  6. Message and donation records will be synchronized with the donor via XMTP notification, and the donor can also express gratitude to the donor in any way via record notification.

How it's Made

Donate3-inone is a web-based DAPP, which has three main highlights from the code implementation point of view:

  1. simple wallet creation process.
  2. simple donation method.
  3. timely message notification. Our implementation is described in detail below. Firstly, we integrated the Auth Kit from @safe's Safe{Core} Account Abstraction SDK, a component that can be authenticated using a web2 account such as a social media account or an email account in a form similar to OAuth, in order to obtain a secure Ether address as the output of the login. Next, we send donations via Axelar GMP. Specifically we get the generated donation receiving address by calling AxelarQueryAPI in axelarjs-sdk. Users can make donations on any blockchain network by selecting the number of aUSDC they wish to donate after converting them to aUSDC. After about 20 minutes, both parties will be able to check the status of the donation and the amount of fees deducted on the blockchain browser. Finally, in order to let recipients know when they've received a donation we've integrated @XMTP, which allows users to subscribe to notifications or not. If the user chooses yes, we will automatically call the XMTP interface to send a message to the donor's address when the user receives the donation, and will also coordinate with Notifi to push the message to the user's usual email address, and so on.
background image mobile

Join the mailing list

Get the latest news and updates