The main gateway to the AFA ecosystem. An all-in-one Web3 platform designed for airdrop hunters and community members.
π Live Demo | π Report Bug
- 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.
- 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.
- 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.
- Framework: React (Vite)
- Styling: Tailwind CSS + FontAwesome
- Mobile Wrapper: Capacitor (
@capacitor/android) - PWA: Web Manifest & Service Workers
- 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
- Networks: Optimism Sepolia, Celo Mainnet, Base
- Standard: ERC-721 (Soul-Bound), Custom Diamond Standard implementation
- Language: Solidity
-
Clone the repository
git clone [https://github.com/bayyubenjamin/afa_web3tool.git](https://github.com/bayyubenjamin/afa_web3tool.git) cd afa_web3tool -
Install dependencies
npm install # or yarn install -
Setup Environment Variables Create a
.envfile based on your Supabase and WalletConnect credentials. -
Run Development Server
npm run dev
/
βββ 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