HopeChain is a decentralized donation tracking application built on the Solana blockchain. This project is dedicated to enhancing transparency and accountability in charitable donations, allowing donors to trace their contributions from the initial donation to their final use. By leveraging blockchain technology, HopeChain provides a secure, publicly verifiable, and efficient system that fosters trust between donors and non-profit organizations.
- Problem It Solves
- Screenshots
- Features
- Tech Stack
- How It Works
- Setup and Installation
- Usage
- Future Roadmap
- Contributing
- License
Traditional donation systems often lack transparency, making it difficult for donors to verify how their contributions are utilized. This results in a lack of trust, reduced donor engagement, and higher audit costs for non-profits. HopeChain addresses these issues by:
- Providing a verifiable donation tracking system where each contribution is recorded immutably on the blockchain.
- Offering real-time updates on campaign balances and donation activity.
- Enabling non-profits to manage campaigns transparently and prove the impact of donations.
- Supporting potential Solana-token Sol to expand access to global donors and simplify cross-border contributions.
- Transparency: Campaigns are publicly accessible, and all donation transactions are viewable, allowing organizations to demonstrate their impact.
- Transaction Feed: Each donation is recorded on the blockchain with details such as transaction signatures and optional memos, providing full transparency for contributors.
- Signature and Memo Polling: The app polls Solana for new transactions to update campaigns continuously on the UI, ensuring users receive the latest campaign updates.
- Wallet Adapter Support: Using the Mobile Wallet Adapter, HopeChain connects with Solflare wallets to allow users to donate SOL securely.
- Secure and Seamless Wallet Interaction: Users can easily connect and donate from their wallets directly within the app.
- Real-Time Conversion: Plans to integrate with the Gemini API will allow for live conversion of SOL donations to fiat currencies, helping users see the value of their contributions.
- Multi-Currency Support: HopeChain aims to support donations in multiple cryptocurrencies (e.g., BTC, ETH) for global accessibility.
- Jetpack Compose: Built with Jetpack Compose, the app offers a smooth, modern Android-native experience.
- Intuitive Layout: A clean and straightforward design ensures ease of use for both donors and campaign managers.
- 2FA and Biometric Options: To protect donor funds, HopeChain will integrate additional security features like two-factor authentication and biometric verification.
- Solana Blockchain: Ensures fast, secure, and low-cost transactions, essential for handling micro-donations efficiently.
- Kotlin & Jetpack Compose: Provides a seamless Android-native experience with responsive, high-performance UI.
- Mobile Wallet Adapter: Facilitates wallet connectivity with Solflare to streamline the donation process.
- Gemini API (Future Integration): Enables multi-currency donations and provides real-time currency conversion for transparency in donation value.
- Wallet Connection: Users connect their Solflare wallet to HopeChain using the Mobile Wallet Adapter in app.
- Browse Campaigns: Donors can explore campaigns, each with detailed information about its purpose, balance, and recent donation history.
- Donate SOL: With a few clicks, donors can contribute SOL directly to a chosen campaign. Each donation is recorded on the blockchain, ensuring immutability and visibility.
- Real-Time Tracking: HopeChain uses a polling mechanism to fetch the latest transactions, updating campaign details in real-time. Transaction signatures and optional memos provide insight into donation use.
- Future Multi-Currency Donations: With planned Gemini API support, HopeChain will allow donations in BTC, ETH, and other assets, broadening access for global donors.
- Download and test it directly on your physical android device. Click here to download : app-debug.zip
- You will then find this apk in your file manager's - Install packages or any other folder where your third-party apks are stored when downloaded.
- You should have solflare wallet installed in your Android device to connect your wallet account with the app.
- Android Studio
- A Solflare wallet for testing on the Solana Devnet
-
Clone the Repository
git clone https://github.com/username/HopeChain.git
-
Open the Project in Android Studio
-
Set Up the Mobile Wallet Adapter
- Ensure that you have the Mobile Wallet Adapter SDK configured for the project.
- Connect your Solflare wallet to test SOL transactions.
-
Run the App
- Build and run the app in Android Studio.
- Select the Devnet environment to simulate test transactions.
- Open the App: Launch HopeChain on your Android device.
- Connect Wallet: Connect your Solflare wallet using the Mobile Wallet Adapter.
- Browse Campaigns: Select a campaign to view details, including balance and recent donation transactions.
- Donate SOL: Choose a campaign, specify the donation amount, and confirm the transaction.
- Track Your Donation: View real-time updates of your donation, including transaction signatures and memos.
- Multi-Currency Donations: Enable donations in BTC, ETH, and other major cryptocurrencies using the Gemini API.
- Portfolio Tracking: Allow donors to view their entire crypto donation history within the app.
- Price Alerts & Notifications: Notify users of significant SOL price changes.
- Advanced Security Features: Implement additional security measures, including biometric authentication and 2FA for donations.
Contributions are welcome! If you want to help make HopeChain even better, please follow these steps:
- Fork the Repository: Start by forking the HopeChain repository.
- Create a Branch: Make a new branch for your feature or bug fix.
- Commit Changes: Add detailed commit messages to describe your changes.
- Submit a Pull Request: Open a pull request and describe the modifications you've made.
This project is licensed under the MIT License - see the LICENSE file for details.
HopeChain is more than just a donation app; it's a movement towards a transparent, trust-based future for philanthropy. By embracing blockchain technology, HopeChain empowers donors and charities to operate with transparency and build confidence, one donation at a time.