Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
What This Skill Does
XMD is XPR Network's native stablecoin pegged to $1 USD, backed by multiple stablecoin collateral types. Tools cover minting, redeeming, checking balances, querying reserves, and reading oracle prices from the xmd.treasury contract.
Exposes both read and write operations against the on-chain xmd.treasury contract in one skill, so you can inspect state and execute transactions without switching tools.
When to use it
- Mint XMD by depositing XUSDC at current oracle price
- Redeem XMD back to a specific stablecoin like XPYUSD
- Check collateralization ratio of the XMD treasury
- Verify oracle price before executing a mint or redeem
- Look up any account's current XMD balance
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: mint 100 XMD using XUSDC
- 1Call xmd_get_config to confirm treasury is not paused
- 2Call xmd_list_collateral to verify XUSDC mint is enabled and check oracle price
- 3Call xmd_get_oracle_price for XUSDC to confirm price >= 0.995
- 4Call xmd_get_treasury_reserves to confirm XUSDC has not hit its maxTreasuryPercent cap
- 5Call xmd_mint with XUSDC amount and confirmed: true to execute the transaction
100.000000 XMD minted to user's account at current oracle price
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.