Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌟 Aidly - Transparent Crypto Aid Distribution

A decentralized platform empowering direct aid distribution through crypto, built on Base Network with transparent tracking and proof-of-use verification.

🎯 Overview

Aidly enables direct aid distribution through:

  • Category-based USDC donation pools (Food, Medicine, Education, Emergency)
  • Transparent on-chain fund tracking
  • Admin-verified aid distribution
  • Proof-of-use requirements and task-based incentives

🛠 Tech Stack

  • Frontend: Next.js, RainbowKit, wagmi, TailwindCSS
  • Backend: Go (Gin), PostgreSQL
  • Smart Contracts: Solidity (Base Network)
  • Wallet Support: MetaMask, Coinbase Wallet, WalletConnect

🚀 Getting Started

Prerequisites

  • Node.js 18+
  • Go 1.20+
  • PostgreSQL
  • Foundry

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/aidly.git
cd aidly
  1. Install frontend dependencies:
cd frontend
npm install
  1. Install backend dependencies:
cd ../backend
go mod tidy
  1. Install and build smart contracts:
cd ../contracts
forge install
forge build

Configuration

  1. Create .env files in each directory:
# Root .env
POSTGRES_URL=your_postgres_url
ADMIN_WALLETS=comma,separated,addresses

# Frontend .env.local
NEXT_PUBLIC_BACKEND_URL=http://localhost:8080
NEXT_PUBLIC_CONTRACT_ADDRESS=your_contract_address

# Backend .env
DATABASE_URL=your_postgres_url
JWT_SECRET=your_jwt_secret

Running Locally

  1. Start the frontend:
cd frontend
npm run dev
  1. Start the backend:
cd backend
go run cmd/main.go

📁 Project Structure

/
├── contracts/      # Foundry smart contracts
├── frontend/       # Next.js frontend
└── backend/        # Go backend

🤝 Contributing

  1. Fork the repository
  2. Create your feature branch
  3. Commit your changes
  4. Push to the branch
  5. Open a Pull Request

📄 License

MIT

🔗 Links

Releases

Packages

Used by

Contributors

Languages