Token导航 LogoToken导航TokenDH.com
运维需要联网clawhub未标认证来源可访问clear审计提醒

xpr-lendingXPR 贷款

Agent Skill

xpr-lending 用于补充运维相关能力,适合在 OpenClaw 中需要让 Agent 承接运维相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

19,133

周安装

774

GitHub Stars

公开资料未说明

下载量

6,006
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:xpr-lending(XPR 贷款)
来源仓库:https://github.com/paulgnz/xpr-lending
安装命令:
openclaw skills install xpr-lending
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install xpr-lending

简介

与 XPR 网络上的 LOAN 协议进行交互,以在主网上提供资产、抵押借款、赎回、偿还贷款以及领取 LOAN 代币奖励。

SKILL.md

name
lending
description
LOAN Protocol lending and borrowing on XPR Network (lending.loan contract)

LOAN Protocol (Metal X Lending)

You have tools to interact with the LOAN Protocol on XPR Network — a Compound-style pooled lending protocol at lending.loan. Users supply assets to earn interest and borrow against their collateral.

IMPORTANT: LOAN Protocol is mainnet only. There is no testnet deployment. All lending tools operate on mainnet.

Key Concepts

  • L-Tokens — share tokens (LBTC, LUSDC, LXPR, etc.) representing a user's share in the lending pool. When you supply XBTC, you receive LBTC. L-tokens auto-compound interest.
  • Collateral Factor — max borrow percentage of collateral value (e.g. 70% = can borrow up to $70 per $100 deposited). Borrowing close to this limit risks immediate liquidation.
  • Utilization Rate — ratio of borrowed to total assets. High utilization = higher borrow rates. Each market targets an optimal utilization (kink point).
  • Variable Rate — borrow rate that fluctuates with utilization. All borrowers in a market pay the same variable rate.
  • Liquidation — when a user's borrow exceeds their collateral factor threshold, liquidators can repay the debt and seize discounted collateral. Liquidation incentive is currently 10%.
  • LOAN Token — governance/reward token. Suppliers and borrowers earn LOAN rewards proportional to their position.

Available Markets

14 active markets including: XUSDC, XBTC, XETH, XPR, XMT, XDOGE, XLTC, XXRP, XSOL, XXLM, XADA, XHBAR, XUSDT, XMD.

Read-Only Tools (safe, no signing)

  • loan_list_markets — list all lending markets with utilization, reserves, interest models, and collateral factors
  • loan_get_market — get detailed info for a specific market by L-token symbol (e.g. "LBTC")
  • loan_get_user_positions — get a user's supply (L-token shares) and borrow positions across all markets
  • loan_get_user_rewards — get a user's unclaimed LOAN rewards per market
  • loan_get_config — get global lending config (oracle, close factor, liquidation incentive)
  • loan_get_market_apy — get historical deposit/borrow APY including LOAN rewards (7d, 30d, 90d) from Metal X API
  • loan_get_market_tvl — get historical TVL (total value locked) in USD with utilization ratio (7d, 30d, 90d)

Write Tools (require confirmed: true)

All write operations require explicit confirmation. For supply and repay, the tool builds a token transfer to lending.loan. For borrow/redeem/withdraw, it calls the lending contract directly.

  • loan_enter_markets — enter markets to enable lending/borrowing (must do this first)
  • loan_exit_markets — exit markets (only if no outstanding positions)
  • loan_supply — supply underlying tokens to earn interest (transfers to lending.loan with "mint" memo)
  • loan_borrow — borrow underlying tokens against deposited collateral
  • loan_repay — repay variable or stable borrows (transfers to lending.loan with "repay" memo)
  • loan_redeem — redeem L-tokens for underlying tokens (burns deposited shares)
  • loan_withdraw_collateral — withdraw L-tokens from collateral (reduces borrowing capacity)
  • loan_claim_rewards — claim accrued LOAN token rewards

Typical User Flow

  1. Enter marketsloan_enter_markets with the market symbols you want to use
  2. Supplyloan_supply underlying tokens (e.g. 1.0 XBTC) → auto-mints LBTC and deposits as collateral
  3. Borrowloan_borrow against collateral (e.g. borrow 500 XUSDC using LBTC collateral)
  4. Repayloan_repay when ready to pay back the loan
  5. Redeemloan_redeem to withdraw your original tokens + earned interest
  6. Claimloan_claim_rewards to claim any LOAN token rewards

Safety Rules

  • NEVER borrow close to the collateral factor limit — users will be liquidated
  • Always recommend borrowing at most 50-60% of the collateral factor to leave a safety buffer
  • Check utilization before redeeming — high utilization means less cash available for withdrawals
  • Supply and repay use token transfers (to lending.loan with memo); borrow/redeem/withdraw use direct contract actions
  • All write tools require confirmed: true — present the details first and ask for confirmation

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

80.49%
按下载量换算4,834

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

未展示

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills