dapp-ethena
Ethena sUSDe — Yield-Bearing Stablecoin
Interact with Ethena's sUSDe (staked USDe) protocol on Ethereum mainnet. sUSDe is an ERC-4626 vault token that earns yield from Ethena's delta-neutral strategy (~10% APY).
Pre-flight Checks
Run once per session:
- Confirm installed: Run
which plugin-store. If not found, install:curl -sSL https://raw.githubusercontent.com/purong-huang-1121/skills-store/main/install.sh | sh - Check for updates: Read
~/.plugin-store/last_check, skip if updated within 12 hours.
Authentication
- Read-only commands (
apy,balance): No auth required. - Write commands (
stake,cooldown,unstake): RequiresEVM_PRIVATE_KEYin.env(Ethereum mainnet wallet with ETH for gas).
Commands
View sUSDe Yield Info
plugin-store ethena apy
Returns: exchange rate (sUSDe → USDe), total assets, total supply, cooldown duration.
Example output:
{
"ok": true,
"data": {
"exchange_rate": "1.223045",
"total_assets_usde": "5234567890.123456",
"total_supply_susde": "4280000000.000000",
"cooldown_duration_seconds": 604800
}
}
exchange_rate: 1 sUSDe = X USDe (grows over time as yield accrues)cooldown_duration_seconds: 604800 = 7 days
Check Balances
plugin-store ethena balance <ADDRESS>
Returns USDe and sUSDe balances, plus sUSDe value in USDe terms.
Example output:
{
"ok": true,
"data": {
"usde_balance": "1000.000000",
"susde_balance": "500.000000",
"susde_value_in_usde": "611.522500"
}
}
Stake USDe → sUSDe
plugin-store ethena stake --amount <AMOUNT>
Deposits USDe into the sUSDe vault, receiving sUSDe shares. Requires ERC-20 approval (handled automatically).
amount: Decimal string (e.g. "100.5")- Gas:
150k gas on Ethereum mainnet ($2-5 at typical gas prices)
Initiate Unstake Cooldown
plugin-store ethena cooldown --amount <AMOUNT>
Starts the 7-day cooldown period. The amount is in USDe terms (how much USDe you want to receive). During cooldown, the sUSDe shares are locked but still earn yield until withdrawal.
Withdraw After Cooldown
plugin-store ethena unstake
Completes the withdrawal after the 7-day cooldown period has elapsed. Returns USDe to the wallet.
Contracts
| Contract | Address | Network |
|---|---|---|
| sUSDe | 0x9D39A5DE30e57443BfF2A8307A4256c8797A3497 |
Ethereum |
| USDe | 0x4c9EDD5852cd905f086C759E8383e09bff1E68B3 |
Ethereum |
Key Concepts
- ERC-4626 Vault: sUSDe is a standard tokenized vault. Deposit USDe, receive sUSDe shares. The exchange rate increases over time as yield accrues.
- Cooldown Period: 7 days. Must call
cooldownfirst, wait 7 days, then callunstake. No partial withdrawals during cooldown. - Yield Source: Ethena runs a delta-neutral strategy (spot ETH + short perp) and distributes funding rate income to sUSDe holders. APY is variable (~8-15% historically).
- sUSDe on L2: sUSDe is bridged to Arbitrum, Base, and other L2s. You can buy sUSDe directly on L2 DEXes (cheaper gas), but staking/unstaking only works on Ethereum mainnet.
Workflow Examples
Check if sUSDe yield is attractive
User: "sUSDe 现在收益多少"
→ plugin-store ethena apy
→ "sUSDe 当前兑换率 1.2230,年化约 10%。7 天冷却期。"
Stake USDe
User: "帮我质押 1000 USDe"
→ plugin-store ethena stake --amount 1000
→ "✅ 已质押 1000 USDe,获得 ~817.7 sUSDe"
Full unstake flow
User: "我要取出 sUSDe"
→ plugin-store ethena cooldown --amount 500
→ "已发起冷却,500 USDe 将在 7 天后可取出"
... 7 days later ...
User: "冷却到了吗"
→ plugin-store ethena unstake
→ "✅ 已取出 500 USDe 到钱包"
More from purong-huang-1121/skills-store
strategy-grid-trade
Use when the user asks about grid trading, ETH/USDC bot, automated trading on Base, grid bot status, trade history, PnL report, or mentions running/stopping/monitoring the grid bot. Covers: grid tick execution, start/stop daemon, status/report/history, market analysis, deposit tracking, retry failed trades. Do NOT use for manual token swaps or DeFi lending — use strategy-auto-rebalance for yield optimization.
54skills-store
>-
36strategy-signal-tracker
Use when the user asks about smart money signal trading, 聪明钱策略, KOL following, whale tracking, signal bot, 信号策略, 跟单策略, 同车地址, cost-aware TP/SL, session risk controls, or wants to run/configure/monitor the signal tracker bot. Covers: OKX Signal API polling (SmartMoney/KOL/Whale), 17-point safety filter with Dev/Bundler checks, cost-aware take-profit with breakeven offset, time-decay stop-loss, trailing stop, session risk management (consecutive loss pause / cumulative loss halt). Do NOT use for meme token scanning — use strategy-memepump-scanner. Do NOT use for grid trading — use strategy-grid-trade. Do NOT use for manual signal lookup — use okx-dex-signal.
15strategy-auto-rebalance
Use when the user asks about USDC yield optimization, 'auto-rebalance daemon', 'start yield monitor', 'yield farming automation', or mentions running an automated USDC rebalancer across Aave V3, Compound V3, and Morpho. Supports Base and Ethereum mainnet. The daemon periodically checks APY, detects optimal rebalancing opportunities, and executes trades with Telegram alerts. Do NOT use for single-protocol operations — use dapp-aave instead. Do NOT use for one-off yield checks — the daemon handles everything automatically.
14strategy-ranking-sniper
Use when the user asks about SOL ranking sniper, Solana top token sniping, trending token bot, ranking-based auto-trading, 排行榜狙击, SOL sniper bot, momentum score trading, ranking exit strategy, or wants to run/configure/monitor the ranking sniper bot. Covers: automated sniping of SOL tokens entering the OKX trending ranking, 3-layer safety filter (Slot Guard + Advanced Safety + Holder Risk Scan), momentum scoring (0-125), 6-layer exit system (ranking exit + hard stop + fast stop + trailing + time stop + gradient TP), Telegram notifications, and configurable parameters via JSON config file. Do NOT use for manual token lookup — use okx-dex-token. Do NOT use for grid trading — use strategy-grid-trade. Do NOT use for memepump scanning — use strategy-memepump-scanner.
13strategy-memepump-scanner
Use when the user asks about meme token scanning, pump.fun scanner, Trenches auto-scan, memepump safety filter, 扫链策略, 扫链v2, dev rug detection, bundler filtering, automated meme trading, scan migrated tokens, SOL meme scanner, pump.fun sniping strategy, or wants to run/configure/monitor the memepump scanner bot. Covers: safety-filtered scanning of MIGRATED pump.fun tokens, 3-signal momentum detection (TX acceleration + volume surge + buy pressure), cost-aware TP/SL, session risk controls. Do NOT use for manual token lookup — use okx-dex-trenches. Do NOT use for grid trading — use strategy-grid-trade.
9