跳到正文
TakoAPI
返回技能列表

chia-splitxch

由 koba42corp 提供

Coding Agents & IDEs
661下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Create SplitXCH royalty split addresses from plain language descriptions.

描述

该技能的功能

Converts plain-language payment split descriptions into SplitXCH royalty addresses on the Chia blockchain. Handles percentage-to-basis-points conversion automatically and supports nested splits for complex hierarchies with 128+ recipients. Calls the SplitXCH API and returns the generated address with a recipient summary.

Handles the basis-points math and nested split ordering automatically, removing the need to manually calculate 9850-point distributions or sequence multi-level API calls.

何时使用

  • Split NFT royalties between a creator and collaborators
  • Divide revenue from a Chia-based service among team members
  • Set up cascading splits for a label with sub-artists
  • Distribute XCH payments across more than 128 wallet addresses using nested splits
  • Preview basis point allocation before committing to an on-chain split

示例工作流

输入

User asks: Split XCH 60/40 between xch1alice... and xch1bob...

智能体
  1. 1

    Parse recipients and percentages from the description

  2. 2

    Convert to basis points: Alice = round(0.60 * 9850) = 5910, Bob = 9850 - 5910 = 3940

  3. 3

    Build JSON payload with recipient names, addresses, and points

  4. 4

    Call the SplitXCH API via scripts/splitxch.sh with the payload file

  5. 5

    Return the generated split address and a summary table with per-recipient percentages

输出

A single xch1... split address; any XCH sent to it distributes 60% to Alice and 40% to Bob automatically, minus the 1.5% platform fee

前置要求

  • Valid XCH wallet addresses (bech32m, starting with xch1) for each recipient
  • SplitXCH API access (via scripts/splitxch.sh or direct curl)

安装

clawhub install koba42corp/chia-splitxch

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接