Back home

03 / Base / Token Launchpad / Uniswap v4

BStocks Launchpad

Every token launched on the Launchpad trades against NVDAc, TSLAc, AAPLc or another tokenized stock. The full one billion supply is locked as liquidity forever, a Uniswap v4 hook charges a 1% fee in the paired stock and books 70% to the creator and 30% to the treasury, and an indexer records launches, swaps, candles, holders and fees from Base logs. There is no login: wallets sign, contracts decide.

Overview

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

Key Features

  • One-transaction launch through the Base-native B20 factory, with optional creator buy, deadline and editable IPFS profile
  • Uniswap v4 pool with a custom hook, single-sided liquidity locked forever and a Chainlink-priced 5,000 USD opening valuation
  • 1% swap fee in the paired stock split 70/30 between creator and treasury, claimable as ERC-6909
  • Postgres indexer for launches, swaps, candles, holders, fees and stock quotes across every deployment
  • Markets, token pages, create flow, trade panel, wallet page and a public JSON API

Architecture

pnpm monorepo: Foundry contracts (StockPairFactory, StockPairHook, StockPairRouter) with invariant tests, a shared core package with ABIs, stock registry and price math, a Base log indexer writing to Postgres, and a Next.js web app.

Role / Ownership

Designed and built the factory, hook and router contracts, the fee model, the indexer, the web app and the deployment workflow.

Stack

Next

Return to the homepage