mr brightside

Torch Market

專業領域v11.1.0
作者:mr brightside更新於 2026-05-19共 89 個版本 · 最新版本釋出於 2026-05-19torchmarket@clawhub_mrsirg97-rgb/torchmarket
金融分析

據 AlphaMoat 統計,截至 2026-10,Torch Market 累計下載 8,557 次、獲 6 個星標,按累計下載量在本次參與排名的 10,914 個 AI 技能中排名第 3,251 位,在「專業領域」分類(1,228 個)中排名第 340 位。

列表預設按累計下載量排序,也可按星標排序;詳情頁排名按累計下載量計算。

累計下載
8557
星標
6
全站下載量排名
#3,251
全站前 30% · 「專業領域」前 28%
平台累計下載星標評論
ClawHub ↗65966-
SkillHub ↗85576—

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

這個技能是做什麼的

SDK 查詢代幣、池、金庫及倉位狀態並構建交易。需要 SOLANA_RPC_URL;未提供 SOLANA_PRIVATE_KEY 時只讀取及構建未籤交易。控制器金鑰須為一次性金鑰,不能用金庫授權金鑰;簽名提交須獲授權,仍可能清算或產生壞賬。

資料釋出於 2026-10-27

可以用來做什麼

  • 檢查代幣借貸狀態或準備未籤交易

什麼時候用

  • 評估獲授權的 Torch 市場流程時

示例提示詞

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

查詢市場與倉位並解釋未籤交易,不簽名或索取金鑰。

月度資料趨勢

累計下載8557
4723678288412026-03 · 累計下載 50072026-05 · 累計下載 56612026-06 · 累計下載 58362026-07 · 累計下載 61282026-08 · 累計下載 63002026-09 · 累計下載 68342026-10 · 累計下載 855726-0326-0926-10
星標6
5672026-03 · 星標 62026-05 · 星標 62026-06 · 星標 62026-07 · 星標 62026-08 · 星標 62026-09 · 星標 62026-10 · 星標 626-0326-0926-10

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

月份累計下載環比星標
2026-108557—6
2026-096834—6
2026-086300+2.8%6
2026-076128+5.0%6
2026-065836+3.1%6
2026-055661—6
2026-035007—6

SKILL.md 原文

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

12 KB · ClawHub v11.1.0
---
name: torch-market
version: "11.1.0"
description: Every token is its own margin market. Depth-adaptive risk engine, treasury-backed lending, real-token short selling. No oracles. No stored baselines. No keepers. The pool is the source of truth.
license: MIT
disable-model-invocation: true
requires:
  env:
    - name: SOLANA_RPC_URL
      required: true
展開全部(共 263 行)
    - name: SOLANA_PRIVATE_KEY
      required: false
    - name: TORCH_NETWORK
      required: false
metadata:
  clawdbot:
    requires:
      env:
        - name: SOLANA_RPC_URL
          required: true
        - name: SOLANA_PRIVATE_KEY
          required: false
        - name: TORCH_NETWORK
          required: false
    primaryEnv: SOLANA_RPC_URL
  openclaw:
    requires:
      env:
        - name: SOLANA_RPC_URL
          required: true
        - name: SOLANA_PRIVATE_KEY
          required: false
        - name: TORCH_NETWORK
          required: false
    primaryEnv: SOLANA_RPC_URL
    install:
      - id: npm-torchsdk
        kind: npm
        package: torchsdk@^11.1.0
        flags: []
        label: "Install Torch SDK (npm, optional -- SDK is bundled in lib/torchsdk/ on clawhub)"
  author: torch-market
  version: "11.1.0"
  clawhub: https://clawhub.ai/mrsirg97-rgb/torchmarket
  program-source: https://github.com/mrsirg97-rgb/torch_market
  sdk-source: https://github.com/mrsirg97-rgb/torchsdk
  website: https://torch.market
  program-id: 8hbUkonssSEEtkqzwM7ZcZrD9evacM92TcWSooVF4BeT
compatibility: >-
  REQUIRED: SOLANA_RPC_URL (HTTPS Solana RPC endpoint).
  OPTIONAL: SOLANA_PRIVATE_KEY (disposable controller keypair -- fresh key, ~0.01 SOL for gas, NEVER a vault authority key).
  OPTIONAL: TORCH_NETWORK ('devnet' for devnet).
  Without SOLANA_PRIVATE_KEY, operates in read-and-build mode: queries state, returns unsigned transactions.
  SDK bundled in lib/torchsdk/. No API server dependency.
---

# torch.market

Every token launched on torch gets a funded treasury, a 300M token lending reserve, margin lending, short selling, and on-chain pricing — all live from migration.

No external LPs. No oracle feeds. No protocol token. No bootstrapping.

## What Torch Is

A protocol where every token launches with its own margin market.

- **Lending**: borrow SOL against token collateral from the token's own treasury
- **Short selling**: borrow real tokens from the 300M treasury lock, sell on the real market
- **Pricing**: Raydium pool reserves — no external oracle
- **Depth-based risk engine**: max LTV scales with pool SOL depth (25% at <50 SOL, up to 50% at 500+ SOL). Deeper pools are harder to manipulate, so higher leverage is permitted. Combined with per-user borrow caps, the effective LTV for long positions is typically <5% — making liquidation structurally near-impossible. No oracles, no stored baseline, no keepers. The pool itself is the source of truth.
- **Liquidation**: permissionless — anyone can call. Exists primarily as a backstop for shorts and extreme multi-sigma events on longs.
- **Parameters**: immutable on-chain — no admin key changes them

Shorts are not synthetic. Borrowed tokens are real. Selling them moves the real price. Short sellers are market participants contributing to price discovery.

## Token Lifecycle

```
CREATE → BOND → MIGRATE → TRADE → MARGIN
                                     │
                                ┌────┴─────┐
                              LEND     SHORT SELL
                                │          │
                              REPAY    CLOSE
                                │          │
                              LIQUIDATE  LIQUIDATE
```

**Bonding** — constant-product curve. SOL splits: curve (100% of tokens to buyer) + treasury (17.5%→2.5% dynamic SOL rate). 2% max wallet. Completes at 100 or 200 SOL.

**Migration** — permissionless. Creates Raydium pool, burns LP tokens (liquidity locked forever), revokes mint/freeze authority permanently, activates 0.07% transfer fee.

**Trading** — token trades on Raydium. Transfer fees harvest to treasury as SOL. Treasury grows perpetually.

**Margin** — two capital pools, two-sided margin:

| Pool | Asset | Purpose |
|------|-------|---------|
| Token Treasury | SOL | Lending pool — borrow SOL against token collateral |
| Treasury Lock | 300M tokens | Short pool — borrow real tokens against SOL collateral |

## Constants

```
SUPPLY          1,000,000,000 tokens (6 decimals)
CURVE_SUPPLY    700,000,000 (70%)
TREASURY_LOCK   300,000,000 (30%)
MAX_WALLET      2% during bonding
BONDING_TARGET  100 SOL (Flame) / 200 SOL (Torch)
PROTOCOL_FEE    0.5% on buys
TREASURY_RATE   17.5% → 2.5% (dynamic decay)
TRANSFER_FEE    0.07% (post-migration, immutable)
MAX_LTV         25-50% (depth-adaptive: 25% <50 SOL, 35% 50-200, 45% 200-500, 50% 500+)
LIQ_THRESHOLD   65%
INTEREST        2% per epoch (~7 days)
LIQ_BONUS       10%
UTIL_CAP        80%
BORROW_CAP      23x collateral share of supply
MIN_POOL_SOL    5 SOL (below this: all margin ops blocked)
MIN_BORROW      0.1 SOL
PROGRAM_ID      8hbUkonssSEEtkqzwM7ZcZrD9evacM92TcWSooVF4BeT
```

## SDK

```
GET QUOTE → BUILD TX → SIGN & SEND
```

One flow, any token state. The SDK auto-routes bonding curve or Raydium DEX based on the quote's `source` field.

```typescript
import { getBuyQuote, buildBuyTransaction } from "torchsdk";

const quote = await getBuyQuote(connection, mint, 100_000_000); // 0.1 SOL
const { transaction } = await buildBuyTransaction(connection, {
  mint, buyer: wallet, amount_sol: 100_000_000,
  slippage_bps: 500, vault: vaultCreator, quote,
});
// sign and send — VersionedTransaction, ALT-compressed
```

### Queries

| Function | Returns |
|----------|---------|
| `getTokens(connection, params?)` | Token list (filterable, sortable) |
| `getToken(connection, mint)` | Full detail: price, treasury, status |
| `getTokenMetadata(connection, mint)` | On-chain Token-2022 metadata |
| `getHolders(connection, mint)` | Top holders with balance/percentage |
| `getMessages(connection, mint, limit?, opts?)` | On-chain memos. `{ enrich: true }` adds SAID |
| `getLendingInfo(connection, mint)` | Lending parameters and pool state |
| `getLoanPosition(connection, mint, wallet)` | Loan: collateral, debt, LTV, health |
| `getAllLoanPositions(connection, mint)` | All loans sorted by liquidation risk |
| `getShortPosition(connection, mint, wallet)` | Short: collateral, debt, LTV, health |
| `getBuyQuote(connection, mint, sol)` | Tokens out, fees, impact. `source: bonding\|dex` |
| `getSellQuote(connection, mint, tokens)` | SOL out, impact. `source: bonding\|dex` |
| `getBorrowQuote(connection, mint, collateral)` | Max borrow: LTV, pool, per-user caps |
| `getVault(connection, creator)` | Vault state |
| `getVaultForWallet(connection, wallet)` | Reverse vault lookup |
| `getUserStats(connection, wallet)` | Per-user trading volume + rewards-claimed history |
| `getProtocolTreasuryState(connection)` | Protocol treasury: epoch, aggregate volume, distributable amount |
| `getTreasuryState(connection, mint)` | Per-token treasury: SOL balance, tokens held, baseline pool reserves at migration, stars |

### Trading

| Function | Description |
|----------|-------------|
| `buildBuyTransaction` | Buy via vault. Auto-routes bonding/DEX |
| `buildDirectBuyTransaction` | Buy without vault (human wallets) |
| `sendBuy` | Build + simulate + submit vault buy via `signAndSendTransaction` |
| `sendDirectBuy` | Build + simulate + submit direct buy via `signAndSendTransaction` |
| `buildSellTransaction` | Sell via vault. Auto-routes bonding/DEX |
| `buildCreateTokenTransaction` | Launch token + treasury + 300M lock |
| `sendCreateToken` | Build + simulate + submit token creation (Phantom-friendly) |
| `buildStarTransaction` | Star token (0.02 SOL) |
| `buildMigrateTransaction` | Migrate to Raydium (permissionless) |

### Margin (post-migration)

| Function | Description |
|----------|-------------|
| `buildBorrowTransaction` | Borrow SOL against token collateral |
| `buildRepayTransaction` | Repay debt, unlock collateral |
| `buildLiquidateTransaction` | Liquidate loan (>65% LTV) |
| `buildOpenShortTransaction` | Post SOL, borrow tokens from treasury lock |
| `buildCloseShortTransaction` | Return tokens, recover SOL collateral |
| `buildLiquidateShortTransaction` | Liquidate short (>65% LTV) |
| `buildClaimProtocolRewardsTransaction` | Claim epoch trading rewards |

### Vault

| Function | Signer |
|----------|--------|
| `buildCreateVaultTransaction` | creator |
| `buildDepositVaultTransaction` | anyone |
| `buildWithdrawVaultTransaction` | authority |
| `buildWithdrawTokensTransaction` | authority |
| `buildLinkWalletTransaction` | authority |
| `buildUnlinkWalletTransaction` | authority |
| `buildTransferAuthorityTransaction` | authority |

### Treasury Cranks (permissionless)

| Function | Description |
|----------|-------------|
| `buildHarvestFeesTransaction` | Harvest 0.07% transfer fees to treasury |
| `buildSwapFeesToSolTransaction` | Swap harvested tokens to SOL via Raydium |
| `buildAdvanceProtocolEpochTransaction` | Advance protocol epoch so previous-epoch rewards become claimable |
| `buildReclaimFailedTokenTransaction` | Reclaim inactive tokens (7+ days) |

## Vault — Why Funds Are Safe

```
Human (authority)                   Agent (controller, ~0.01 SOL gas)
  ├── createVault()                  ├── buy(vault)       → vault pays
  ├── depositVault(5 SOL)            ├── sell(vault)      → SOL to vault
  ├── linkWallet(agent)              ├── borrow(vault)    → SOL to vault
  ├── withdrawVault()  ← auth only   ├── repay(vault)     → collateral back
  └── unlinkWallet()   ← instant     ├── openShort(vault) → tokens to vault
                                     └── closeShort(vault)→ SOL to vault
```

| Guarantee | Mechanism |
|-----------|-----------|
| Full custody | Vault holds all SOL and tokens. Controller holds nothing. |
| Closed loop | Every operation returns value to vault. No leakage. |
| Authority separation | Creator (immutable) / Authority (transferable) / Controller (disposable) |
| Instant revocation | Authority unlinks controller in one tx |
| No extraction | Controllers cannot withdraw. Period. |
| Isolated positions | One loan per user per token. One short per user per token. No cascading. |
| Immutable parameters | LTV, liquidation, interest — set at deployment. No admin key changes them. |

## Key Safety

If `SOLANA_PRIVATE_KEY` is provided: must be a fresh disposable keypair (~0.01 SOL gas). All capital lives in vault. If compromised: attacker gets dust, authority revokes in one tx. Key never leaves the runtime.

If not provided: read-only mode — queries state, returns unsigned transactions.

**Rules:**
1. Never ask for a private key or seed phrase.
2. Never log, print, store, or transmit key material.
3. Use a secure HTTPS RPC endpoint.

## Risk

Positions can be liquidated. Bad debt is possible in extreme conditions. There is no insurance fund. But:

- Bad debt is isolated — one position going underwater cannot affect any other position
- Per-user caps prevent pool concentration — one user cannot drain the lending pool
- 20% of treasury SOL is always reserved (utilization cap)
- Liquidation is permissionless — no keeper dependency

## Verification

71 Kani proof harnesses. 97 litesvm tests. 62 SDK e2e tests. All passing. Cross-validated by independent audit. Core arithmetic and depth-band boundaries formally verified. See [VERIFICATION.md](https://torch.market/verification.md) and [risk.md](https://torch.market/risk.md).

## Links

- [torch.market](https://torch.market) | [Whitepaper](https://torch.market/whitepaper) | [Risk Model](https://torch.market/risk.md)
- SDK: `lib/torchsdk/` | [npm](https://www.npmjs.com/package/torchsdk) | [source](https://github.com/mrsirg97-rgb/torchsdk)
- Program: `8hbUkonssSEEtkqzwM7ZcZrD9evacM92TcWSooVF4BeT`

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

AIGC過程存證服務專業領域

AIGC創作過程自動存證技能。自動識別創作平台與生成工具,將創作過程記錄存證並蓋有公安備案電子印章,具備可信時間戳,可以在全國電子印章互認平台核驗。

↓ 390萬★ 7u_c2c77b5f
防詐專家專業領域

反電信網路詐騙(反詐)專家技能。當用戶描述一個疑似詐騙的場景、簡訊、電話、連結、聊天記錄、App、投資平台、招聘資訊或轉賬要求,並詢問「這是不是詐騙」「要不要轉錢」「怎麼止損」「錢還能不能追回來」,或需要識別詐騙話術、拆解騙局結構、生成報案材料與取證清單時使用。同時在對話中主動嗅探「轉賬、驗證碼、螢幕共享、安全帳戶、保證金、刷單、穩賺、百萬保障、跑分」等風險詞並插入預警,即使對方並未詢問反詐。適用場景還包括:家屬求助勸阻疑似被騙的親人、企業/銀行/支付機構/網際網路平台做涉詐帳戶識別與交易監測規則、涉詐資金鍊(跑分、卡四件套、GOIP)分析、反詐合規與員工培訓、反詐實戰演練。

↓ 168.7萬★ 4user_e9185b15
全國電子印章互認平台專業領域

電子印章公安備案、全網互認,實現所有格式檔案電子簽章與影片確權,覆蓋全國所有CA廠商自2005年以來的全量電子簽章資料,無論由哪個地區、哪套系統、哪家CA機構簽發,均可精準校驗與互認。

↓ 141.6萬★ 8u_c2c77b5f
baozheng-skills專業領域

包拯.Skills你身邊的專家律師團 — 專業法律諮詢 + 要素式/通用起訴狀起草 + 刑事專項材料輔助 + 法條分析與法規檢索。flk.npc.gov.cn API即時法條優先,不可用時AI知識庫降級兜底,**法條來源按四檔標註可核驗(已核驗-flk API / 已核驗-單源 / 已引-離線庫 / 未核驗-模型生成),交付末尾附法條/事實/金額/程式分項置信度**;以22類法律領域覆蓋矩陣約束路由邊界;支援35個起訴狀模板、5類刑事專項材料輔助;內建Logic Doctor邏輯自檢、訴訟時效追蹤及10類異常容錯處理(含連續失敗熔斷);漸進式意圖收斂協議(3輪狀態機);混合意圖自動任務拆解(按依賴排序→合併→順序執行);含反模式清單與危機干預出口(自殺/家暴/未成年人侵害先於一切法律分析)。非標準案由自動使用通用模板。

↓ 52.7萬★ 2user_814dbe54
律師助手專業領域

律師AI辦案工作臺:從接案到結案全流程提效——案件分析、要件梳理、文書初稿、證據質證、法庭攻防演練、賠償與費用計算、期限提醒、復盤歸檔;覆蓋民事、刑事、勞動、非訴、破產、執行、行政、仲裁八大領域,111 個專家技能;法條可核驗、結論可複核。

↓ 50.7萬★ 77user_cd0fcd93
包拯.SKILL專業領域

包拯.Skills你身邊的專家律師團 — 專業法律諮詢 + 要素式/通用起訴狀起草 + 刑事專項材料輔助 + 法條分析與法規檢索。flk.npc.gov.cn API即時法條優先,不可用時AI知識庫降級兜底,**法條來源按四檔標註可核驗(已核驗-flk API / 已核驗-單源 / 已引-離線庫 / 未核驗-模型生成),交付末尾附法條/事實/金額/程式分項置信度**;以22類法律領域覆蓋矩陣約束路由邊界;支援35個起訴狀模板、5類刑事專項材料輔助;內建Logic Doctor邏輯自檢、訴訟時效追蹤及10類異常容錯處理(含連續失敗熔斷);漸進式意圖收斂協議(3輪狀態機);混合意圖自動任務拆解(按依賴排序→合併→順序執行);含反模式清單與危機干預出口(自殺/家暴/未成年人侵害先於一切法律分析)。非標準案由自動使用通用模板。

↓ 42.4萬★ 41user_741dc82b
專利初稿助手專業領域

基於技術交底書生成專利申請初稿。技術交底書內容至少包含技術問題、解決方案、技術效果。內建的推理、視覺、多模態、數學、函式、模擬等模型底座均為國產,國外模型0使用,可放心食用。 近期安裝量暴增感謝支援,不少私信希望能力提升但這已是國產極限,我們不必追求最強技能,達到及格即可。學習交流歡迎聯絡微訊號A26dian4

↓ 36.9萬★ 48user_9c63fdb4
露禾論文寫作助手(免費版pro)專業領域

露禾論文寫作助手(免費版):一句話生成引用可溯源、不編造的專業學術論文,按國標 GB/T 7714 插入真實文獻引用,中英文 3000/5000/8000 字,一鍵匯出 Word。說「寫論文 / 幫我寫論文」即可使用。

↓ 35萬★ 18u_a3c224a2

mr brightside 的其他技能

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