用途:Solend 是 Solana 区块链上的去中心化借贷与借款协议,用户可存入(供应)资产赚取利息,以抵押品借款,并监控账户健康度以避免被清算。该技能通过斜杠命令操作。
主要能力与命令: 借贷操作:/solend deposit <amount> <token> 存入抵押品;/solend withdraw <amount|all> <token> 提取抵押品;/solend borrow <amount> <token> 借入资产;/solend repay <amount|all> <token> 偿还借入资产。 账户查询:/solend obligation 查看持仓(存款与借款);/solend health 检查健康因子与清算风险。 市场信息:/solend reserves 列出储备及其 APY 与利用率;/solend rates 查看供应/借款利率表;/solend markets 列出可用借贷市场。
示例用法:/solend deposit 100 USDC、/solend borrow 1 SOL、/solend health、/solend repay all SOL、/solend withdraw all USDC、/solend reserves、/solend rates。
配置:需要设置环境变量 export SOLANA_PRIVATE_KEY="your-base58-private-key";可选配置 export SOLANA_RPC_URL="https://api.mainnet-beta.solana.com"。
相关技能:/kamino(Kamino Finance 借贷与流动性金库)、/marginfi(MarginFi 借贷协议)、/jup(Jupiter DEX 聚合器)、/bags(投资组合总览)。
限制:资料未提供该技能支持的具体代币范围、手续费、利率数值、所在平台或运行环境要求,也未提供安全性、审计或风险披露信息,这些内容暂未提供。