← All skills
Tencent SkillHub · Data Analysis

xpr-xmd

Interact with Metal Dollar (XMD) stablecoin to mint, redeem, check supply, collateral reserves, and oracle prices with zero fees and multi-collateral support.

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Interact with Metal Dollar (XMD) stablecoin to mint, redeem, check supply, collateral reserves, and oracle prices with zero fees and multi-collateral support.

⬇ 0 downloads ★ 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
SKILL.md, skill.json, src/index.ts, test-read.mjs

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
0.2.11

Documentation

ClawHub primary doc Primary doc: SKILL.md 7 sections Open source page

Metal Dollar (XMD)

You have tools to interact with XMD, XPR Network's native stablecoin. XMD is a multi-collateral stablecoin pegged to $1 USD, minted and redeemed through the xmd.treasury contract.

How XMD Works

Mint: Send a supported stablecoin (e.g. XUSDC) to xmd.treasury with memo mint → receive equivalent XMD at oracle price Redeem: Send XMD to xmd.treasury with memo redeem,SYMBOL (e.g. redeem,XUSDC) → receive equivalent stablecoin back 1:1 peg: Oracle-priced at $1, backed by stablecoin reserves in the treasury Zero fees: Currently 0% mint and redemption fees on all collateral types

Supported Collateral

TokenContractOracle FeedMax Treasury %StatusXUSDCxtokensUSDC/USD60%Mint + RedeemXPAXxtokensPAX/USD15%Mint + RedeemXPYUSDxtokensPYUSD/USD15%Mint + RedeemMPDmpd.tokenMPD/USD2%Mint + Redeem

Contracts

xmd.token — XMD token contract (precision 6, issuer = xmd.treasury) xmd.treasury — Mint/redeem logic, collateral management, oracle integration oracles — On-chain price feeds from multiple providers

Read-Only Tools (safe, no signing)

xmd_get_config — treasury config: paused state, fee account, minimum oracle price threshold xmd_list_collateral — all supported collateral tokens with fees, limits, oracle prices, mint/redeem volumes xmd_get_supply — XMD total circulating supply xmd_get_balance — check any account's XMD balance xmd_get_treasury_reserves — current stablecoin reserves backing XMD, with USD valuations and collateralization ratio xmd_get_oracle_price — current oracle price for any collateral token (with individual provider data)

Write Tools (require confirmed: true)

xmd_mint — mint XMD by depositing a supported stablecoin xmd_redeem — redeem XMD for a supported stablecoin

Safety Rules

Oracle price must be >= 0.995 (minOraclePrice) for mint/redeem to proceed Each collateral has a maxTreasuryPercent cap — if the treasury already holds too much of one stablecoin, minting with it is blocked Check isMintEnabled / isRedeemEnabled before attempting operations The treasury can be paused by admins (isPaused) — check config first XMD has precision 6 — all amounts use 6 decimal places (e.g. 1.000000 XMD)

Category context

Data access, storage, extraction, analysis, reporting, and insight generation.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
2 Scripts1 Docs1 Config
  • SKILL.md Primary doc
  • src/index.ts Scripts
  • test-read.mjs Scripts
  • skill.json Config