Codexsha
Index

N° 21 / sha 6d78b99

Token Launchpad / Base

Live

BStocks Launchpad

Stock-paired token launcher on Base: one transaction creates a B20 token and opens a Uniswap v4 pool against a Coinbase tokenized stock.

Group
Onchain
Started
2026
Status
Public repository with a live app at launchpad.basestocks.finance and committed contract deployment records for Base mainnet (chain 8453).

Overview

Each launch mints a fixed 1,000,000,000 supply with no admin and locks all of it as liquidity, with the opening price set from the stock's Chainlink feed. A hook charges a 1% fee in the stock on every swap, split 70% to the token creator and 30% to the platform treasury.

What it does

  1. 01Factory functions launch, launchWithOptions and launchAndBuy
  2. 02StockPairHook books a 1% swap fee in the stock, claimable by creator and treasury
  3. 03Indexer for launches, swaps, candles, holders, fees and stock quotes
  4. 04JSON API published as OpenAPI 3.1 and llms.txt, with unsigned transaction builders
  5. 05Embeddable trade and create widgets for iframes

How it is built

pnpm monorepo: Foundry contracts (StockPairFactory, StockPairHook, StockPairRouter), a shared TypeScript core package, an indexer that reads Base logs into Postgres, an alerts service and a Next.js web app with a JSON API.

Stack

Next.js / React / TypeScript / Solidity / Foundry / Uniswap / Wagmi / Viem / Tailwind / PostgreSQL