界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

sage-cat

sage-cat

【效率与协作】Sage CAT (Chia Asset Token) operations. List tokens, send CATs, issue new tokens, combine CAT coins, resync balances.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: sage-cat description: Sage CAT (Chia Asset Token) operations. List tokens, send CATs, issue new tokens, combine CAT coins, resync balances.

Sage CAT Tokens

CAT (Chia Asset Token) operations.

Endpoints

Query CATs

EndpointPayloadDescription
get_cats{}List wallet CATs
get_all_cats{}List all known CATs
get_token{"asset_id": "a628..."}Get token details

Token Metadata

EndpointPayloadDescription
update_cat{"record": {...}}Update CAT metadata
resync_cat{"asset_id": "a628..."}Resync CAT balance

Send CAT

EndpointDescription
send_catSend to single address
bulk_send_catSend to multiple addresses

send_cat

{
  "asset_id": "a628c1c2c6fcb74d53746157e438e108eab5c0bb3e5c80ff9b1910b3e4832913",
  "address": "xch1...",
  "amount": "1000",
  "fee": "100000000",
  "include_hint": true,
  "memos": [],
  "clawback": null,
  "auto_submit": true
}

bulk_send_cat

{
  "asset_id": "a628...",
  "addresses": ["xch1...", "xch1..."],
  "amount": "100",
  "fee": "100000000",
  "include_hint": true,
  "memos": [],
  "auto_submit": true
}

Issue CAT

Create new token:

{
  "name": "My Token",
  "ticker": "MYT",
  "amount": "1000000",
  "fee": "100000000",
  "auto_submit": true
}

Combine CAT Coins

{
  "asset_id": "a628...",
  "max_coins": 100,
  "max_coin_amount": "1000000",
  "fee": "100000000",
  "auto_submit": true
}

Token Record Structure

{
  "asset_id": "a628c1c2...",
  "name": "Spacebucks",
  "ticker": "SBX",
  "balance": "1000000",
  "icon_url": "https://...",
  "visible": true
}

Examples

# List CATs
sage_rpc get_cats '{}'

# Send CAT
sage_rpc send_cat '{
  "asset_id": "a628c1c2c6fcb74d53746157e438e108eab5c0bb3e5c80ff9b1910b3e4832913",
  "address": "xch1recipient...",
  "amount": "100",
  "fee": "100000000",
  "auto_submit": true
}'

# Issue new token
sage_rpc issue_cat '{
  "name": "Community Token",
  "ticker": "COM",
  "amount": "21000000",
  "fee": "100000000",
  "auto_submit": true
}'

Notes

  • CAT amounts are in the token's smallest unit (no decimals)
  • include_hint adds the asset_id to help receivers identify the token
  • Asset IDs are 64-character hex strings
我的收藏