Thanks to visit codestin.com
Credit goes to github.com

Skip to content

bayyubenjamin/AFA_WEB3TOOL

Repository files navigation

AFA WEB3TOOL - Integrated Web3 Dashboard

Stacks License React Vite Supabase PWA Ready Celo MiniPay

Tool by Airdrop For All

The main gateway to the AFA ecosystem. An all-in-one Web3 platform designed for airdrop hunters and community members.

🌐 Live Demo | πŸ› Report Bug


✨ Key Features

πŸ’Ž Core Ecosystem

  • AFA Identity (SBT): On-chain identity system using Soul-Bound Tokens (ERC-721) on OP Sepolia.
  • Membership Tiers: Upgradeable NFT mechanics to unlock premium dashboard features.
  • Wallet Connect: Integrated with Wagmi & Web3Modal for seamless multi-wallet support.
  • Celo & MiniPay Integration: Native support for Celo Mainnet with a custom hook for seamless, buttonless auto-connect tailored specifically for Opera MiniPay users.
  • Multi-Chain & Bitcoin L2 Ready: Configured for Base network and integrated with Stacks/Hiro for Bitcoin L2 interaction.

πŸ“± User Experience (New)

  • Progressive Web App (PWA): Installable on Android & iOS. Looks and feels like a native app.
  • Native Android App: Built and wrapped via Capacitor allowing for direct Android installation and Play Store deployment.
  • Offline Support: Automatic network detection with smart notifications when connection is lost/restored.
  • Multi-language: Native support for English and Indonesian.
  • Themes: Customizable Dark/Light mode for visual comfort.

πŸ›‘οΈ Security & Auth

  • Flexible Login: Support for Email/Password, Web3 Wallet, and Telegram Auth.
  • Account Linking: Unified profile connecting Web2 (Email/Telegram) and Web3 (Wallet) identities.
  • Zero-Knowledge Proofs: Configured with Vlayer SDK for advanced data privacy and verification.

πŸ› οΈ Tech Stack

Frontend

  • Framework: React (Vite)
  • Styling: Tailwind CSS + FontAwesome
  • Mobile Wrapper: Capacitor (@capacitor/android)
  • PWA: Web Manifest & Service Workers

Web3 Technologies

  • Core: Wagmi + Viem + Ethers.js
  • UI & Connectors: Web3Modal, Injected Providers (MiniPay specific hooks)
  • Bitcoin L2: Stacks Connect React (@stacks/connect-react)
  • ZK Framework: Vlayer React & SDK

Backend & Infrastructure

  • Core: Supabase (Auth, Database, Realtime)
  • Compute: Supabase Edge Functions (Deno)
  • Hosting: Vercel

Smart Contracts

  • Networks: Optimism Sepolia, Celo Mainnet, Base
  • Standard: ERC-721 (Soul-Bound), Custom Diamond Standard implementation
  • Language: Solidity

πŸš€ Getting Started

  1. Clone the repository

    git clone [https://github.com/bayyubenjamin/afa_web3tool.git](https://github.com/bayyubenjamin/afa_web3tool.git)
    cd afa_web3tool
  2. Install dependencies

    npm install
    # or
    yarn install
  3. Setup Environment Variables Create a .env file based on your Supabase and WalletConnect credentials.

  4. Run Development Server

    npm run dev

πŸ—οΈ Project Structure

/
β”œβ”€β”€ android/              # Native Android wrapper (Capacitor)
β”œβ”€β”€ supabase/             # Edge Functions & Database types
β”œβ”€β”€ public/               # Static assets & Manifest
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ components/       # UI Components (Header, Auth, Modals, Pages)
β”‚   β”œβ”€β”€ contracts/        # ABI & Contract Addresses (AFA Identity, Celo)
β”‚   β”œβ”€β”€ hooks/            # Custom React Hooks (useMiniPay, useBaseNetwork)
β”‚   β”œβ”€β”€ services/         # API & Supabase logic
β”‚   └── wagmiConfig.js    # Web3 Configuration (Chains, Transports, Web3Modal)
└── vercel.json           # Deployment Headers & Rules

---

## πŸ—οΈ Stacks Ecosystem Integration
This project is actively participating in the **Stacks Builder Rewards** program. 
- **Smart Contracts:** Contains Clarity smart contracts (`.clar`) to interact with the Stacks blockchain.
- **Web3 Integration:** Utilizing `@stacks/network` and `@stacks/connect` for seamless blockchain interactions and Bitcoin scalability.
- **Wallet Support:** Ready to integrate with Stacks-compatible wallets like Leather and Xverse.
Dev update 1 Rab 27 Mei 2026 14:55:28 WIB

About

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors