Skip to content
predictfun logo

Predict.fun

predictfun

Predict.fun prediction market trading (BNB Chain)

alsk1992/CloddsBot0installs2.9Kstars

SKILL.md

Full skill instructions

Predict.fun

Full integration with Predict.fun, a BNB Chain prediction market with binary and categorical outcomes.

Quick Start

# Set credentials
export PREDICTFUN_API_KEY="your-api-key"
export PREDICTFUN_PRIVATE_KEY="0x..."

# Search markets
/​pf markets crypto

# Check balance
/​pf balance

# Place order
/​pf buy <marketId> YES 0.55 100

Commands

Market Data

CommandDescription
/​pf markets [query]Search markets
/​pf market <id>Get market details
/​pf book <marketId>Show orderbook

Trading

CommandDescription
/​pf buy <marketId> <outcome> <price> <size>Place buy order
/​pf sell <marketId> <outcome> <price> <size>Place sell order
/​pf cancel <orderId>Cancel order
/​pf cancelallCancel all orders
/​pf ordersList open orders

Examples:

/​pf buy market-123 YES 0.55 100   # Buy YES at 55c, 100 shares
/​pf sell market-123 NO 0.40 50    # Sell NO at 40c, 50 shares
/​pf cancel order-abc              # Cancel specific order

Account

CommandDescription
/​pf balanceCheck USDT balance
/​pf positionsView open positions
/​pf redeem <conditionId>Redeem settled positions
/​pf merge <conditionId> <amount>Merge outcome tokens

Configuration

# Required for market data
export PREDICTFUN_API_KEY="your-api-key"

# Required for trading
export PREDICTFUN_PRIVATE_KEY="0x..."

Or in ~/​.clodds/​clodds.json:

{
  "trading": {
    "predictfun": {
      "apiKey": "${PREDICTFUN_API_KEY}",
      "privateKey": "${PREDICTFUN_PRIVATE_KEY}"
    }
  }
}

Features

  • BNB Chain - Fast, low-cost transactions (chainId 56)
  • Binary & Categorical - Multiple market types
  • Order Signing - Secure wallet signatures via SDK
  • Position Management - Track & redeem positions
  • Merge/​Split - Convert between collateral and outcome tokens

Trading Notes

  1. Index Sets: Binary markets use indexSet = 1 for YES, indexSet = 2 for NO
  2. Merging: Requires equal amounts of all outcome tokens
  3. Fees: Check platform for current fee structure

Resources

More skills from alsk1992

portfolio logo
alsk1992/CloddsBot

portfolio

Track your positions and P&L across prediction markets and futures exchanges

2.9K 0
View
ledger logo
alsk1992/CloddsBot

ledger

Trade decision audit trail and statistics

2.9K 0
View
permissions logo
alsk1992/CloddsBot

permissions

Command approvals, tool policies, and exec security

2.9K 0
View
news logo
alsk1992/CloddsBot

news

Monitor news and correlate with prediction market movements

2.9K 0
View
whale-tracking logo
alsk1992/CloddsBot

whale-tracking

Monitor whale trades on Polymarket and crypto chains (Solana, ETH, Polygon, ARB, Base, OP)

2.9K 0
View
raydium logo
alsk1992/CloddsBot

raydium

Raydium - swaps, CLMM positions, AMM liquidity on Solana

2.9K 0
View
history logo
alsk1992/CloddsBot

history

Trade history tracking, sync, and performance analytics

2.9K 0
View
kamino logo
alsk1992/CloddsBot

kamino

Kamino Finance — Solana lending, borrowing, and liquidity vaults

2.9K 0
View
qrcoin logo
alsk1992/CloddsBot

qrcoin

Participate in QR Coin auctions on Base - bid to display URLs on QR codes

2.9K 0
View
endaoment logo
alsk1992/CloddsBot

endaoment

Donate to 501(c)(3) charities onchain via Endaoment - tax-deductible crypto donations

2.9K 0
View
research logo
alsk1992/CloddsBot

research

Research prediction markets - base rates, resolution rules, historical data

2.9K 0
View
trading-futures logo
alsk1992/CloddsBot

trading-futures

Trade perpetual futures on Binance, Bybit, Hyperliquid, MEXC with up to 200x leverage

2.9K 0
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View