Skip to content

Instantly share code, notes, and snippets.

// scan-polymarket-markets.ts
// Node 18+ (内置 fetch)
// 运行: npx tsx scan-polymarket-markets.ts
import * as readline from "node:readline";
type PMEvent = { slug?: string; title?: string };
type Market = {
id: string;
question: string;
slug: string;