Install
openclaw skills install chia-splitxchCreate SplitXCH royalty split addresses from plain language descriptions. Use when the user wants to split XCH payments, royalties, or revenue between multiple recipients. Triggers on "split royalties", "royalty split", "splitxch", "split XCH between", "revenue share", "payment split", "basis points split", or any request to divide Chia payments among wallets. Supports nested/cascading splits for complex hierarchies and 128+ recipients.
openclaw skills install chia-splitxchCreate complex XCH royalty distribution addresses from natural language descriptions.
SplitXCH creates special Chia blockchain addresses that automatically split incoming payments to multiple recipients based on configured percentages. The API computes a puzzle address; any XCH sent to that address gets distributed automatically on-chain.
scripts/splitxch.sh or direct curlpoints = round(percentage / 100 * 9850)Example: "Split 60/40 between Alice and Bob"
{
"recipients": [
{"name": "Alice", "address": "xch1...", "points": 5910, "id": 1},
{"name": "Bob", "address": "xch1...", "points": 3940, "id": 2}
]
}
Save to a temp file and run:
bash <skill_dir>/scripts/splitxch.sh /tmp/split-payload.json
When the user describes groups within groups:
address as a recipient in the parent splitExample: "Team A (Alice 50%, Bob 50%) gets 70%, Charlie gets 30%"
xch1teamA...xch1 and be valid bech32mAfter creating a split, present:
xch1... addressIf nested, show the full tree structure.
For detailed API docs, validation rules, and error handling, see references/api.md.