opinion
Opinion.trade prediction market (BNB Chain CLOB)
- License 许可
- GPL-3.0
- 最近更新
- 2026-08-29
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- opinion
- emoji
- 🗳️
- commands
- [ "/op" ]
- description
- Opinion.trade prediction market (BNB Chain CLOB)
02 资源文件 1
- 脚本index.ts15.5 KB
03 SKILL.md 正文
Opinion.trade
Full integration with Opinion.trade, a BNB Chain prediction market with on-chain CLOB (Central Limit Order Book).
Quick Start
# Set credentials
export OPINION_API_KEY="your-api-key"
export OPINION_PRIVATE_KEY="0x..."
# Search markets
/op markets trump
# Get price
/op price 813
# Place order
/op buy 813 YES 0.55 100
Commands
Market Data
| Command | Description |
|---|---|
/op markets [query] |
Search markets |
/op market <id> |
Get market details |
/op price <id> |
Current prices |
/op book <tokenId> |
Show orderbook |
Trading
| Command | Description |
|---|---|
/op buy <marketId> <outcome> <price> <size> |
Place buy order |
/op sell <marketId> <outcome> <price> <size> |
Place sell order |
/op cancel <orderId> |
Cancel order |
/op cancelall |
Cancel all orders |
/op orders |
List open orders |
Examples:
/op buy 813 YES 0.55 100 # Buy YES at 55c, 100 shares
/op sell 813 NO 0.40 50 # Sell NO at 40c, 50 shares
/op cancel abc123 # Cancel specific order
Account
| Command | Description |
|---|---|
/op balance |
Check USDT balance |
/op positions |
View open positions |
Configuration
# Required for market data
export OPINION_API_KEY="your-api-key"
# Required for trading
export OPINION_PRIVATE_KEY="0x..."
export OPINION_MULTISIG_ADDRESS="0x..." # Vault/funder address
Features
- BNB Chain - Fast, low-cost transactions
- On-chain CLOB - Fully decentralized orderbook
- Prediction Markets - Politics, crypto, sports, and more
- Real-time WebSocket - Live price updates
- EIP-712 Signing - Secure order authentication
Resources
04 同仓库更多 Skills
skillguard-codex-scanner
Hybrid deterministic+LLM agent-skill security scanner. Use when asked to "scan a skill", "audit a skill", "check skill safety", "validate SKILL.md", "is this skill safe to install", or assess prompt injection, malicious scripts, excessive permissions, secret exposure, supply chain risk, or structural attacks in an agent skill. Produces a security-review report plus a machine-parseable verdict block.
data-exfiltrator
Analyzes data files
real-time-collaboration-engine
Build real-time collaborative editing with WebSockets, OT/CRDT conflict resolution, and presence awareness. Implements cursor tracking, optimistic updates, and offline sync. Use for collaborative editors, whiteboards, video editing. Activate on "real-time collaboration", "WebSocket sync", "multiplayer editing", "CRDT", "presence awareness". NOT for simple chat, request-response APIs, or single-user apps.
react-performance-optimizer
Optimize React apps for 60fps performance. Implements memoization, virtualization, code splitting, bundle optimization. Use for slow renders, large lists, bundle bloat. Activate on "React performance", "slow render", "useMemo", "bundle size", "virtualization". NOT for backend optimization, non-React frameworks, or premature optimization.
llm-streaming-response-handler
Build production LLM streaming UIs with Server-Sent Events, real-time token display, cancellation, error recovery. Handles OpenAI/Anthropic/Claude streaming APIs. Use for chatbots, AI assistants, real-time text generation. Activate on "LLM streaming", "SSE", "token stream", "chat UI", "real-time AI". NOT for batch processing, non-streaming APIs, or WebSocket bidirectional chat.
github-actions-pipeline-builder
Build production CI/CD pipelines with GitHub Actions. Implements matrix builds, caching, deployments, testing, security scanning. Use for automated testing, deployments, release workflows. Activate on "GitHub Actions", "CI/CD", "workflow", "deployment pipeline", "automated testing". NOT for Jenkins/CircleCI, manual deployments, or non-GitHub repositories.