This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // 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; |