sage-options
moltbot
Sage options protocol operations. Mint options, exercise, transfer, list and manage options contracts.
Quick Install
bunx add-skill moltbot/skills -s sage-optionsarchivebackupclawdbotclawdhubskill
Instructions
Loading…
moltbot
Sage options protocol operations. Mint options, exercise, transfer, list and manage options contracts.
bunx add-skill moltbot/skills -s sage-optionsLoading…
Chia options protocol operations.
| Endpoint | Payload | Description |
|---|---|---|
get_options | See below | List options |
get_option | {"option_id": "..."} | Get specific option |
update_option | {"option_id": "...", "visible": true} | Update visibility |
{
"offset": 0,
"limit": 50,
"sort_mode": "name",
"ascending": false,
"find_value": null,
"include_hidden": false
}
Sort modes: "name", "created_height", "expiration_seconds"
{
"expiration_seconds": 604800,
"underlying": {
"asset_id": null,
"amount": "1000000000000"
},
"strike": {
"asset_id": "a628c1c2...",
"amount": "100000"
},
"fee": "100000000",
"auto_submit": true
}
asset_id: null = XCHoption_id{
"option_ids": ["..."],
"fee": "100000000",
"auto_submit": true
}
{
"option_ids": ["..."],
"address": "xch1...",
"fee": "100000000",
"clawback": null,
"auto_submit": true
}
{
"option_id": "...",
"underlying_asset_id": null,
"underlying_amount": "1000000000000",
"strike_asset_id": "a628c1c2...",
"strike_amount": "100000",
"expiration_seconds": 604800,
"created_height": 1234567,
"visible": true
}
# List options
sage_rpc get_options '{"limit": 20}'
# Mint option: 1 XCH underlying, 100k CAT strike, 7 day expiry
sage_rpc mint_option '{
"expiration_seconds": 604800,
"underlying": {"asset_id": null, "amount": "1000000000000"},
"strike": {"asset_id": "a628c1c2...", "amount": "100000"},
"fee": "100000000",
"auto_submit": true
}'
# Exercise option
sage_rpc exercise_options '{
"option_ids": ["option123"],
"fee": "100000000",
"auto_submit": true
}'
# Transfer option
sage_rpc transfer_options '{
"option_ids": ["option123"],
"address": "xch1buyer...",
"fee": "100000000",
"auto_submit": true
}'
Use when you need to run Flow type checking, or when seeing Flow type errors in React code.
Use when you want to validate changes before committing, or when you need to check all React contribution requirements.
Use when feature flag tests fail, flags need updating, understanding @gate pragmas, debugging channel-specific test failures, or adding new flags to React.
Use when you need to check feature flag states, compare channels, or debug why a feature behaves differently across release channels.