Skip to content

Repository files navigation

PreFair

Cross-venue valuation desk for tokenized pre-IPO stocks on Solana.

Live app: https://prefair.vercel.app

PreFair compares the same private company across two Solana tokenized pre-IPO venues, PreStocks and Tessera, and converts every figure to the implied value of the whole company.

It separates venue disagreement from effective entry cost, surfaces real on-chain mints, reads mainnet supply, and routes users to live execution paths.

Built for the Stocklana hackathon.


The Problem

Tokenized pre-IPO stocks trade on Solana, but the same company is priced across venues under different legal structures.

On PreStocks, tokens provide SPV economic exposure. On Tessera, tokens represent loan participation rights.

Raw token prices cannot be compared directly because:

  • Each token represents a different fraction of the underlying company.
  • PreStocks publishes both a live market price and a mark price.
  • Tessera publishes a mark valuation.
  • Headline mark prices hide secondary-market premiums and discounts.

Evaluating raw prices without normalization leads buyers to miscalculate their actual entry valuation by tens to hundreds of percent.


What PreFair Does

PreFair lifts every asset to a common whole-company valuation baseline:

  1. Venue Disagreement: Compares like-for-like mark valuations to show how far apart issuers value the underlying private company.
  2. Effective Entry Cost: Evaluates executable entry prices, factoring in live secondary-market premiums over venue marks.
  3. On-Chain Solana Verification: Resolves each asset to its verified SPL mint address and reads live token supply directly from Solana mainnet RPC.
  4. Execution Routing: Provides direct execution deep links to Jupiter DEX routes and Solscan token explorers.
  5. Interactive Route Planner: Models return multiples and cash payoffs side by side under user-defined IPO exit scenarios.

Live Normalization Example

From live feeds for OpenAI:

  • Tessera Mark Valuation: $950B
  • PreStocks Mark Valuation: $1.27T (+34% mark-to-mark disagreement)
  • PreStocks Live Market Price: Trades at an active premium over its mark
  • PreStocks Effective Entry: $1.61T implied company value
  • Effective Total Gap: +69% higher entry valuation on PreStocks compared to Tessera

PreFair decomposes this spread on screen so capital can be routed intentionally.


Tech Stack

  • Framework: Next.js 15 (App Router), React 19, TypeScript
  • Styling: Tailwind CSS v4
  • Typography: Syne (display), Manrope (body), IBM Plex Mono (data)
  • Data Sources: PreStocks Public API, Tessera Public REST API
  • On-Chain Reads: Solana Mainnet-Beta JSON-RPC (getTokenSupply)
  • Visuals: Responsive deterministic SVG isometric projection engine
  • Deployment: Vercel

Local Development

git clone https://github.com/Pizzylee001/prefair.git
cd prefair
npm install
npm run dev

Open http://localhost:3000 in your browser.


Design System & Variety

PreFair follows a documented design specification in DESIGN.md:

  • Palette: Monochrome plus saturated yellow accent (#EAB308 fill, #8A5A00 text-safe accent) on light ground (#F1F2F3)
  • Structural signature: Responsive isometric 3D comparison scene drawn to proportional valuation scale
  • Memory ledger: Recorded in design-system/LEDGER.md

Disclaimer

PreFair provides economic data and analytics, not financial or investment advice. Tokenized private-market exposure carries significant risk, may be illiquid, and is subject to issuer terms. This tool does not hold user funds or execute custodial trades.


License

MIT License. See LICENSE for details.

About

Cross-venue valuation desk for tokenized pre-IPO stocks on Solana. Normalizes implied company values across PreStocks and Tessera.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages