Skip to content

iamaanahmad/solana-token-launchpad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solana Token Launchpad Backend

This repository contains a database-backed REST API for a Solana token launchpad platform. It implements user registration, token launch creation, whitelist and referral management, tiered pricing, purchase tracking, and vesting schedules.

Features

  • Health check endpoint
  • JWT authentication with registration and login
  • CRUD for token launches with computed status (UPCOMING, ACTIVE, ENDED, SOLD_OUT)
  • Optional tiered pricing and vesting configuration
  • Whitelist management per launch
  • Referral codes with discounts and usage limits
  • Purchase endpoint with sybil protection and total‑supply enforcement
  • Vesting calculations by wallet address

Tech stack

  • Node.js / TypeScript
  • Express.js
  • PostgreSQL (via Prisma)
  • JWT (jsonwebtoken) and password hashing (bcryptjs)

Development

  1. Copy .env.example to .env and set DATABASE_URL and JWT_SECRET.
  2. Run:
    npm install
    npx prisma generate
    npx prisma db push
    npm start
  3. Server listens on port 3000 by default.

Repo: https://github.com/iamaanahmad/solana-token-launchpad

About

A database-backed REST API for a Solana token launchpad platform.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors