Skip to content

Apollo87z/ape-launchpad-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ape Terminal

Fastest-growing decentralized IDO launchpad — Solana-native, user-first, high-yield crypto fundraising

Live Platform X Discord

LaunchpadDocumentationAPIHow to LaunchParticipate


🎯 Overview

Ape Terminal is the fastest-growing IDO launchpad in crypto — built for speed, fairness, and maximum yield.

It empowers projects to raise funds via Initial DEX Offerings (IDOs) on Solana (with multi-chain expansion planned), while giving everyday users free/accessible early access to the best tokens — no staking walls, no heavy gating.

Core promise:

Launch or join high-quality IDOs with transparency, anti-bot protection, Jito-accelerated txs, referral rewards, snapshot bonuses, and proven ROI (avg 10–20x on many sales).

Why Ape Terminal?

  • Solana-native speed — Jito bundles + optimized RPCs for snappy participation
  • User-first — Open-access IDOs, no mandatory token lockups
  • Proven track record — 30+ successful launches, $50M+ raised, strong community ROI
  • Full tooling — On-chain program (Anchor), backend API, admin dashboard, claims engine, referral system, winner selection via snapshots
  • Built for 2026 meta — Memecoins, DeFi, AI agents, gaming, DePIN — all supported

✨ Features

Feature Description
Solana Anchor Program Secure on-chain IDO logic: initialize, contribute, redeem, withdraw
Jito RPC Integration Fast, reliable transaction execution & bundling
Referral System Earn rewards for bringing users/projects
Snapshot & Winners Fair raffle/allocations via holder snapshots
Claims & History Easy token claiming, full contribution tracking
Admin Dashboard Project approval, stats, anti-snipe controls
REST API Backend endpoints for frontend + third-party integrations
Email/Wallet Alerts Notifications for whitelists, claims, sales end

📦 Installation (Dev Setup)

This repo is the backend + on-chain dev workspace.

# Clone the dev repo
git clone https://github.com/Apollo87z/aperTerminalDevRepo.git
cd aperTerminalDevRepo

# Install dependencies (Node.js 18+ / Yarn recommended)
yarn install

# Copy env example and configure
cp .env.example .env
# Edit .env → add Solana RPC, Jito endpoint, Firebase creds, etc.

# Start dev server (API + hot reload)
yarn dev
# or
nodemon src/index.ts

Frontend repo (Next.js / React) is separate — contact @Apollo87z for access if contributing.

On-chain program built with Anchor → see program.ts, idl/, redeem.ts, etc.


🚀 Quick Start

1. Participate in an IDO (User)

  1. Connect Phantom / Backpack wallet at https://www.apeterminal.io
  2. Browse active sales → https://www.apeterminal.io/launchpad
  3. Register / get allocation (referral = bigger chance!)
  4. Contribute SOL/USDC during sale window
  5. Claim tokens post-launch via dashboard

2. Launch a Project

  1. Submit project → https://www.apeterminal.io/apply
  2. Pass review (KYC-lite + smart contract audit recommended)
  3. Set tokenomics, raise target, vesting
  4. Launch → Ape Terminal handles promotion, anti-bot, Jito txs

Example on-chain contribution flow (simplified):

// Pseudo-code from your program
const tx = await program.methods
  .contribute(new BN(amount))
  .accounts({ user: userPubkey, idoAccount, ... })
  .rpc({ skipPreflight: true }); // + Jito bundle

🌐 API Reference

Base URL (production): https://api.apeterminal.io/v1
(Local dev): http://localhost:3000

Key Endpoints

GET /health

{ "status": "ok", "version": "1.2.0" }

POST /projects

Create/list projects (admin + public read)

POST /ido/contribute

User contribution (requires signed message)

GET /claims/:wallet

Check claimable tokens

POST /snapshot/winners

Admin: generate winners from snapshot

Full Swagger / docs coming soon.

Authentication: JWT + wallet signatures for sensitive actions.


📚 Use Cases

  • Memecoin launches — Fast fair-launch with anti-snipe
  • DeFi protocols — Token sales with vesting
  • Gaming / NFT projects — Community allocations
  • DePIN / AI agents — Early backers with referrals
  • Cross-chain experiments — Solana-first, bridge later

🧪 Examples

Example: Successful IDO Flow

  1. Project deploys → initialize_ido.ts
  2. Users hit /ido/contribute → backend → Jito → on-chain
  3. Sale ends → snapshot.tswinnersManagement.ts
  4. Users claim → claims_routes.tsredeem.ts

Example: Referral Tracking

// From project_user_routes.ts
await useReferral(referralCode, userWallet);

Example: Conflict / No Allocation

{
  "success": false,
  "reason": "Allocation sold out",
  "next_sale": "2026-02-01T12:00:00Z"
}

🔧 Development

Project Structure

aperTerminalDevRepo/
├── src/
│   ├── routes/         # auth_routes.ts, claims_routes.ts, project_routes.ts, ...
│   ├── logic/          # projectManagement.ts, snapshot.ts, claimsManagement.ts, ...
│   ├── idl/            # Anchor IDL
│   └── program.ts      # On-chain program entry
├── tests/
├── .env
├── package.json
└── tsconfig.json

Run locally with Firebase + Solana devnet for testing.


🤝 Contributing

Love to have you!

  1. Fork the repo
  2. Create feature branch (git checkout -b feat/new-snapshot-logic)
  3. Commit (git commit -m 'Add snapshot logging')
  4. Push & open PR

Focus areas: security audits, Jito optimizations, multi-chain support, better UI/UX.


📄 License

MIT License — see LICENSE file.


🙋 Support


🌟 Acknowledgments

  • Built with Anchor, Solana Web3.js, Jito, Firebase
  • Inspired by Pump.fun, Raydium LaunchLab, and the need for fair, fast IDOs

Made by Apollo / Shehan Horadagoda

⭐ Star if you're launching or aping next!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published