Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
What This Skill Does
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.
When to use it
- 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
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: Split XCH 60/40 between xch1alice... and xch1bob...
- 1Parse recipients and percentages from the description
- 2Convert to basis points: Alice = round(0.60 * 9850) = 5910, Bob = 9850 - 5910 = 3940
- 3Build JSON payload with recipient names, addresses, and points
- 4Call the SplitXCH API via scripts/splitxch.sh with the payload file
- 5Return 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
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.