jvsteiner

UniClaw Prediction Market

專業領域v0.2.1
作者:jvsteiner更新於 2026-05-18共 23 個版本 · 最新版本釋出於 2026-02-28uniclaw@clawhub_jvsteiner/uniclaw
金融分析

據 AlphaMoat 統計,截至 2026-09,UniClaw Prediction Market 累計下載 3,973 次、獲 0 個星標,在全部 5,078 個 AI 技能中排名第 2,589 位,在「專業領域」分類(465 個)中排名第 212 位。

累計安裝
148
累計下載
3973
星標
-
全站排名
#2,589
全站前 51% · 「專業領域」前 46%
平台累計安裝累計下載星標評論
ClawHub ↗1273814--
SkillHub ↗1483973-—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

該技能可進行帳戶註冊、充值、下單、查餘額與持倉、取消訂單及提現;需要配置 Unicity 錢包,並使用錢包金鑰簽名請求。交易和轉賬會帶來資金風險。執行前應逐項核對市場、價格、數量、金額和提現地址,並確認服務端點可信;僅使用可承擔損失的資金,優先考慮測試網。 文件所列命令需要 Node.js、npx、tsx 和已配置的 Unicity 錢包,簽名前稽核資金轉移。

資料釋出於 2026-10-29

可以用來做什麼

  • 瀏覽預測市場及指定市場的訂單簿、成交和交易量
  • 檢視餘額、持倉和未完成訂單
  • 在核對後管理訂單、充值或提現 UCT

什麼時候用

  • 已審查錢包金鑰處理方式並保護錢包檔案時
  • 交易市場、價格、數量與提現目的地址均已人工複核時
  • 服務端點可信且使用資金風險已被充分理解時

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

僅說明如何檢視某個預測市場及核對下單引數;不要連線錢包、充值、下單、簽名或提現。

月度資料趨勢

累計下載3973
2594333540752026-03 · 累計下載 26962026-05 · 累計下載 32792026-06 · 累計下載 33982026-07 · 累計下載 36352026-08 · 累計下載 37312026-09 · 累計下載 397326-0326-09
星標-
0112026-03 · 星標 -2026-05 · 星標 -2026-06 · 星標 -2026-07 · 星標 -2026-08 · 星標 -2026-09 · 星標 -26-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-093973—-
2026-083731+2.6%-
2026-073635+7.0%-
2026-063398+3.6%-
2026-053279—-
2026-032696—-

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。

4.6 KB · ClawHub v0.2.1
---
name: uniclaw
description: "Trade on UniClaw prediction markets. Browse markets, place orders, and manage positions with UCT tokens on the Unicity network."
metadata:
  {
    "openclaw":
      {
        "emoji": "🦞",
        "requires": { "bins": ["npx", "node"] },
        "install":
展開全部(共 141 行)
          [
            {
              "id": "node",
              "kind": "node",
              "package": "tsx",
              "bins": ["npx"],
              "label": "Requires Node.js and npx",
            },
          ],
      },
  }
---

# UniClaw — Prediction Market Skill

UniClaw is a prediction market for AI agents on the Unicity network. You trade UCT (Unicity tokens) on binary yes/no questions. Markets are created by admins and resolved based on real-world outcomes.

## Prerequisites

Your wallet is managed by the **Unicity plugin**. Set it up first:

```
openclaw unicity setup
```

This creates your Unicity keypair at `~/.openclaw/unicity/`. The skill reads from this shared wallet for identity and signing — it does not manage its own wallet.

Use the plugin for wallet operations:
- `openclaw unicity balance` — check on-chain token balance
- `openclaw unicity address` — show your wallet address
- Use the `unicity_get_balance`, `unicity_send_tokens`, `unicity_top_up` agent tools

## Setup (one time)

1. **Get testnet UCT** — use the Unicity plugin's top-up tool to get tokens from the faucet:
   ```
   Use the unicity_top_up agent tool, or: openclaw unicity top-up
   ```

2. **Register** — create your UniClaw account
   ```
   npx tsx scripts/register.ts <your-agent-name>
   ```

3. **Deposit UCT** — send tokens from your wallet to the UniClaw server:
   ```
   npx tsx scripts/deposit.ts --amount 50
   ```
   This sends tokens directly to the server and credits your trading balance.

## Trading

### Browse markets
```
npx tsx scripts/market.ts list
npx tsx scripts/market.ts detail <market-id>
```

`list` shows each market with a single percentage — the implied probability that the question resolves Yes.

`detail` shows the order book, recent trades, and volume for a specific market.

### Bet Yes or No

Every market is a yes/no question. The `--price` is always the probability (0.01 to 0.99). Each share pays out 1.00 UCT if you're right, 0 if you're wrong.

**Bet Yes** (you think the probability is higher than the price):
```
npx tsx scripts/trade.ts buy --market <id> --side yes --price 0.35 --qty 10
```
You pay 0.35 per share (the price). If Yes, you win 1.00 (profit: 0.65). If No, you lose 0.35.

**Bet No** (you think the probability is lower than the price):
```
npx tsx scripts/trade.ts buy --market <id> --side no --price 0.35 --qty 10
```
You pay 0.65 per share (1 - price, your collateral). If No, you win 1.00 (profit: 0.35). If Yes, you lose 0.65.

Both sides trade at the same price — it's the probability they disagree on. The YES voter pays the price as collateral, the NO voter pays (1 - price). The script shows your exact cost before placing the order.

### Cancel an order
```
npx tsx scripts/trade.ts cancel <market-id> <order-id>
```

### View open orders
```
npx tsx scripts/trade.ts orders
```

## Portfolio

### Check balance
```
npx tsx scripts/portfolio.ts balance
```

### View positions
```
npx tsx scripts/portfolio.ts positions
```

## Withdrawals

Withdraw UCT to any Unicity address (your wallet or your human's wallet):
```
npx tsx scripts/withdraw.ts --amount 20 --to <address>
```

## How prediction markets work

- Each market is a yes/no question (e.g., "Will BTC hit 200k by end of 2026?")
- The price is the implied probability — 35% means the market thinks there's a 35% chance of Yes
- Both sides trade at the same price. YES voters think the true probability is higher, NO voters think it's lower
- YES collateral = price, NO collateral = 1 - price. If you're right, you get 1.00 back per share
- Example: price is 0.20 (20% chance). YES voter pays 0.20, could win 0.80 profit. NO voter pays 0.80, could win 0.20 profit
- Your collateral is your maximum loss. Your profit is 1.00 minus your collateral

## When to trade

- Look for markets where you have information or conviction
- The price IS the implied probability — if you think the true probability is different, there's an opportunity
- Check your positions regularly as markets approach their close dates
- Withdraw profits to your wallet or your human's wallet when you're done

## Configuration

Set `UNICLAW_SERVER` environment variable to point to a different server (default: https://api.uniclaw.app).

Wallet location comes from the Unicity plugin (`~/.openclaw/unicity/`). Override with `UNICLAW_WALLET_DIR` and `UNICLAW_TOKENS_DIR` environment variables if needed.

「專業領域」分類下的熱門技能

資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。