{"id":23557467,"url":"https://github.com/barkprotocol/airdrop-launchpad","last_synced_at":"2025-07-20T02:31:56.057Z","repository":{"id":269025905,"uuid":"906032207","full_name":"barkprotocol/airdrop-launchpad","owner":"barkprotocol","description":"BARK - Airdrop Launchpad is a decentralized application (dApp) built on the Solana blockchain that enables users to verify their eligibility and claim BARK tokens. ","archived":false,"fork":false,"pushed_at":"2025-05-15T16:58:55.000Z","size":1497,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-15T23:41:17.346Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/barkprotocol.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-12-20T02:50:10.000Z","updated_at":"2024-12-26T17:17:13.000Z","dependencies_parsed_at":"2025-05-15T23:41:28.305Z","dependency_job_id":null,"html_url":"https://github.com/barkprotocol/airdrop-launchpad","commit_stats":null,"previous_names":["barkprotocol/bark-claim","barkprotocol/airdrop-launchpad"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/barkprotocol/airdrop-launchpad","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barkprotocol%2Fairdrop-launchpad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barkprotocol%2Fairdrop-launchpad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barkprotocol%2Fairdrop-launchpad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barkprotocol%2Fairdrop-launchpad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/barkprotocol","download_url":"https://codeload.github.com/barkprotocol/airdrop-launchpad/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barkprotocol%2Fairdrop-launchpad/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266058467,"owners_count":23870155,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-26T14:30:54.192Z","updated_at":"2025-07-20T02:31:56.018Z","avatar_url":"https://github.com/barkprotocol.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BARK | Airdrop Launchpad\n\n## Overview\n\nBARK Protocol´s Airdrop Launchpad is a decentralized application (dApp) built on the Solana blockchain that enables users to verify their eligibility and claim BARK tokens. This project leverages cutting-edge technologies like Next.js, TypeScript, and React while seamlessly integrating with Solana wallets to ensure an intuitive and secure user experience.\n\n![WebUI/UX](github/assets/frontend.png)\n\n- **Frontend**: \n  - **Next.js**: For server-side rendering and static site generation.\n  - **React**: A component-based library for creating dynamic user interfaces.\n  - **Shadcn/UI**: A collection of prebuilt UI components for faster development.\n  - **Tailwind CSS**: A utility-first CSS framework for rapid UI design.\n  - **Solana Wallet Adapter**: For integrating popular Solana wallets like Phantom, Backpack, and Solflare.\n  \n- **Backend**:\n  - **Admin Dashboard**: \n  - **Solana Blockchain**: For decentralized token transfers, eligibility checks, and interaction with the BARK ecosystem.\n  - **Prisma ORM**: For seamless database interaction and data management.\n  - **Helius API**: For interacting with the Solana blockchain to gather transaction data and process eligibility.\n\n- **Deployment**:\n  - **Vercel**: Used for deploying the dApp with automatic CI/CD workflows for efficient updates and scaling.\n\n## Features\n\n- **Wallet Connection**: Integrates with popular Solana wallets such as Phantom, Backpack, and Solflare.\n- **Eligibility Check**: Verifies eligibility for BARK token airdrops directly within the dApp.\n- **Token Claim**: Allows users to claim BARK tokens with a single click.\n- **Fee Calculation**: Automatically calculates and displays operational and community fees.\n- **Multiple Transfers**: The claim process includes separate transfers for the main claim, operational fee, and community fee.\n- **Responsive Design**: Optimized for both mobile and desktop devices for a seamless experience.\n- **Blockchain Integration**: Direct interaction with the Solana blockchain for transparent and secure operations.\n- **Shadcn/UI**: Provides reusable components for enhanced UI/UX.\n- **Secure Transactions**: Implements robust security measures for handling sensitive operations.\n- **Prisma Integration**: Utilizes Prisma ORM for smooth and efficient database interactions.\n- **API**: Well-documented API endpoints for developers.\n- **Documentation**: Comprehensive [technical documentation](/document) available for better understanding and integration.\n\n## How it Works\n\nThe eligibility check combines multiple sources:\n\n- Being a BARK token holder\n- The `api/eligibility/route.ts` file by using the centralized `checkEligibility` function.\n- Presence in the hardcoded `ELIGIBLE_ADDRESSES` array\n- Presence in the CSV whitelist\n- Having unclaimed BARK tokens in the database\n\n## Prerequisites\n\nBefore you begin, ensure you have met the following requirements:\n\n- **Node.js**: Version 20.0.0 or later.\n- **pnpm**: Version 9.15.0 or later.\n- **Solana.web3.js**: For blockchain interactions.\n- **Prisma**: Installed and configured for database management.\n- **Solana Wallet**: A supported wallet (e.g., Phantom, Backpack, Solflare).\n- **Shadcn/UI**: Framework for reusable components\n\n## Installation\n\nTo install the BARK Claim Dapp, follow these steps:\n\n1. **Clone the repository**:\n\n   ```bash\n   git clone https://github.com/bark-protocol/airdrop-lauchpad.git\n   ```\n\n2. **Navigate to the project directory**:\n\n   ```bash\n   cd airdrop-lauchpad\n   ```\n\n3. **Install dependencies**:\n\n   ```bash\n   pnpm install\n   ```\n\n4. **Set up environment variables**:\n   Create a `.env.local` file in the root directory and populate it with the required and optional environment variables. Example:\n\n   ```env\n   NEXT_PUBLIC_SUPABASE_URL=your-supabase-url\n   NEXT_PUBLIC_SUPABASE_ANON_KEY=your-supabase-anon-key\n   NEXT_PUBLIC_SOLANA_NETWORK=devnet\n   NEXT_PUBLIC_SOLANA_RPC_URL=https://api.devnet.solana.com\n   NEXT_PUBLIC_MINT_API_URL=https://api.actions.barkprotocol.net/mint\n   NEXT_PUBLIC_HELIUS_API_KEY=your-helius-api-key\n   NEXT_PUBLIC_CLAIM_WALLET=your_claim_wallet_address_here\n   NEXT_PUBLIC_OPERATIONAL_FEE_WALLET=your_operational_fee_wallet_address_here\n   NEXT_PUBLIC_COMMUNITY_FEE_WALLET=your_community_fee_wallet_address_here\n   NEXT_PUBLIC_TOKEN_PROGRAM_ID=TokenkegQfeZyiNwAJbNbGKPFXkQd5J8X8wnF8MPzYx\n   NEXT_PUBLIC_NFT_PROGRAM_ID=\n   NEXT_PUBLIC_METADATA_SERVICE_URL=https://api.example.com/upload-metadata\n   SECRET_KEY=your-secret-key-here\n   JWT_SECRET=your-jwt-secret-key-here\n   NODE_ENV=development\n   ```\n\n5. **Run the development server**:\n\n   ```bash\n   pnpm dev\n   ```\n\n   Open [http://localhost:3000](http://localhost:3000) in your browser to view the dApp.\n\n## Deployment\n\nThe BARK Claim Dapp is optimized for deployment on Vercel. To deploy:\n\n1. Link your GitHub repository to your Vercel account.\n2. Add the required environment variables in the Vercel project settings.\n3. Deploy your application with a single click.\n\n## API\n\n- **Endpoints**: The application has several endpoints: /api/eligibility, /api/claim, and /api/status, etc..\n\n## Future Enhancements\n\n- **Enhanced Analytics**: Provide users with real-time insights and metrics.\n- **Implement Token Sale**: Build, create an Initial Wallet Offering (IWO), token sale campaign, and distribution.\n- **Advanced Security Features**: Implement additional layers of security for transactions.\n- **Gamified Airdrops**: Introduce a gamified experience for claiming tokens.\n- **Marketplace Integration**: Enable users to trade or stake claimed tokens.\n\n## License\n\nThis project is licensed under the MIT License. See the LICENSE file for details.\n\n## Contributing\n\nWe welcome contributions! Please fork the repository and submit a pull request with your improvements.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarkprotocol%2Fairdrop-launchpad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbarkprotocol%2Fairdrop-launchpad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarkprotocol%2Fairdrop-launchpad/lists"}