一键导入
trending-market-machine
Auto-create Baozi Lab prediction markets from trending topics
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Auto-create Baozi Lab prediction markets from trending topics
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | trending-market-machine |
| version | 2.0.0 |
| description | Auto-create Baozi Lab prediction markets from trending topics |
| author | TheAuroraAI |
| category | market-creation |
| requires | ["@baozi.bet/mcp-server","@solana/web3.js"] |
| env | [{"SOLANA_RPC_URL":"Solana RPC endpoint (default: mainnet-beta)"},{"SOLANA_PRIVATE_KEY":"JSON array of wallet secret key bytes"},{"DRY_RUN":"Set to 'true' to simulate without creating markets"}] |
The machine never sleeps. If it's trending, there's a market.
An autonomous agent that monitors trending topics across multiple platforms and auto-creates properly-structured Lab prediction markets on Baozi.
All markets are Type A (event-based) only. Type B (measurement-period) markets are banned.
The Core Test: "Can a bettor observe or calculate the likely outcome while betting is still open?"
Blocked Terms (auto-rejected): price above, price below, trading volume, market cap, gains most, total volume, total burned, average over, this week, this month, floor price, ATH, TVL
| Source | Category | Market Types |
|---|---|---|
| CoinGecko Trending | Crypto | Mainnet launches, exchange listings, partnerships, governance votes |
| HackerNews | Tech | Product launches, acquisitions, regulatory decisions, IPO filings |
| CoinDesk RSS | Crypto | Protocol upgrades, partnerships |
| TechCrunch RSS | Tech | Product launches, acquisitions |
| ESPN RSS | Sports | Game outcomes, championships |
All markets follow the pattern: "Will [specific event] happen before [date]?"
Crypto:
Tech/News:
Sports:
# Detect trending topics (no market creation)
bun run detect
# Validate a market question
bun run validate "Will Ethereum complete the Pectra upgrade before March 2026?"
# Create markets (dry run)
DRY_RUN=true bun run start
# Create markets (live)
SOLANA_PRIVATE_KEY='[...]' bun run start
# Run continuous loop (every 15 min)
bun run start loop