A specialized toolset for navigating and interacting with prediction markets (Polymarket, Kalshi, etc.) using pmxtjs.
src/index.ts: Entry point exporting all tools.src/tools.ts: Core logic for API interactions viapmxtjs.src/types.ts: TypeScript interfaces for consistent data structures.SKILL.md: Operational guide for AI agents.
-
Install dependencies:
npm install
-
Build the project:
npx tsc
-
usage (Example):
import { getPolymarketMarkets } from "./src"; const markets = await getPolymarketMarkets("Trump"); console.log(markets);
- Use
npm run dev(if configured) ornpx ts-node src/index.tsfor quick testing.