← 返回
AI智能 中文

HypurrFi

DeFi lending on Hyperliquid. Deposit to earn yield, borrow against collateral. Supports Pooled (Aave v3), Prime/Yield (Euler), and Vault markets. Use when an...
在 Hyperliquid 上进行 DeFi 借贷,存入资金获取收益、抵押借贷,支持资金池(Aave v3)、Prime/Yield(Euler)和金库市场,适用于...
lastandy
AI智能 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 518
下载
💾 4
安装
1
版本
#latest

概述

HypurrFi Skill

DeFi lending for AI agents on Hyperliquid.

Deposit assets → Earn yield. Post collateral → Borrow. All on HyperEVM.

Quick Start (Git Clone → Deposit in 5 min)

# 1. Clone and install
git clone https://github.com/hypurrfi/hypurrfi-skill.git ~/.openclaw/workspace/skills/hypurrfi
cd ~/.openclaw/workspace/skills/hypurrfi && npm install

# 2. Setup wallet (if you don't have one)
node scripts/setup.js --json

# 3. Fund your wallet with HYPE or stablecoins
# Bridge via https://cctp.to or transfer from HyperCore L1

# 4. Deposit!
node scripts/deposit.js pooled usdt0 100 --json

Market Types

MarketRiskStyleBest For
-------------------------------
PooledSharedAave v3Deepest liquidity, cross-collateral borrowing
PrimeLowerEulerSafer assets, conservative strategies
YieldHigherEulerHigher APY, riskier assets
VaultManagedCuratedSet-and-forget, ClearstarLabs managed

⚠️ Important: Assets in one market can't collateralize another. HYPE in Prime ≠ collateral for Pooled borrows.


Commands

Check Your Positions

# Overview of all positions across markets
node scripts/positions.js --json

# Detailed health factor and liquidation risk
node scripts/health.js --json

Deposit (Earn Yield)

# Deposit to specific market
node scripts/deposit.js <market> <token> <amount> [--yes] [--json]

# Examples
node scripts/deposit.js pooled usdt0 100 --json      # Pooled market
node scripts/deposit.js prime hype 10 --json         # Prime market (lower risk)
node scripts/deposit.js yield hype 10 --json         # Yield market (higher APY)
node scripts/deposit.js vault usdt0 100 --json       # ClearstarLabs vault

Withdraw

node scripts/withdraw.js <market> <token> <amount|max> [--yes] [--json]

# Examples
node scripts/withdraw.js pooled usdt0 50 --json
node scripts/withdraw.js pooled usdt0 max --json     # Withdraw everything

Borrow (Against Collateral)

# First deposit collateral, then borrow
node scripts/borrow.js <market> <token> <amount> [--yes] [--json]

# Example: Borrow USDT0 against HYPE collateral in Pooled
node scripts/deposit.js pooled hype 10 --yes --json
node scripts/borrow.js pooled usdt0 1000 --yes --json

Repay

node scripts/repay.js <market> <token> <amount|max> [--yes] [--json]

# Example
node scripts/repay.js pooled usdt0 500 --json
node scripts/repay.js pooled usdt0 max --json       # Repay full debt

Check APY Rates

node scripts/rates.js --json

Tokens Supported

TokenAddressMarkets
-------------------------
HYPENativePooled, Prime, Yield
USDT00xB8CE59FC3717ada4C02eaDF9682A9e934F625ebbAll
USDC0x211Cc4DD073734dA055fbF44a2b4667d5E5fE5d2Pooled
USDXL0xca79db4B49f608eF54a5CB813FbEd3a6387bC645Pooled
hwHYPE0x...Prime, Yield

Safety Rules

  1. Always check health factor before borrowing more
    • Health > 1.5 = Safe
    • Health 1.0-1.5 = Caution
    • Health < 1.1 = Liquidation risk!
  1. Confirm before transactions — use --yes only after reviewing
  1. Start small — test with small amounts first
  1. Monitor positions — run node scripts/health.js regularly
  1. Keep gas reserves — need ~0.01 HYPE for transactions

Common Workflows

Earn Yield on Stablecoins

# Deposit USDT0 to Pooled for ~5-15% APY
node scripts/deposit.js pooled usdt0 1000 --yes --json

Leverage HYPE (Loop)

# 1. Deposit HYPE
node scripts/deposit.js pooled hype 100 --yes --json

# 2. Borrow stables against it
node scripts/borrow.js pooled usdt0 5000 --yes --json

# 3. (Optional) Buy more HYPE with borrowed stables
# ... then deposit that HYPE too (looping)

Conservative Treasury

# Use Vault for managed, lower-touch yield
node scripts/deposit.js vault usdt0 10000 --yes --json

Error Handling

ErrorCauseFix
-------------------
"No wallet found"Wallet not setupRun node scripts/setup.js
"Insufficient balance"Not enough tokensFund wallet first
"Health factor too low"Over-leveragedRepay debt or add collateral
"Amount exceeds available"Trying to withdraw too muchCheck positions, use max

Links

  • App: https://app.hypurr.fi
  • Docs: https://docs.hypurr.fi
  • Explorer: https://explorer.hyperliquid.xyz
  • Support: https://discord.gg/hypurrfi

Wallet Location

Private key stored at: ~/.hyperliquid-wallet.json

Never share this file. Same wallet works for HyperCore L1 and HyperEVM.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 02:55 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

self-improving agent

pskoett
捕获经验教训、错误和纠正,以实现持续改进。使用时机:(1)命令或操作意外失败;(2)用户纠正……
★ 4,055 📥 795,929
data-analysis

Bracket Oracle

lastandy
NCAA疯狂三月篮球锦标赛对阵表生成器。从Bart Torvik获取大学篮球队评分,利用log5获胜概率模拟锦标赛对阵。
★ 1 📥 603
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,349 📥 317,697