بنقرة واحدة
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