/install gekko-yield
\r \r
Gekko Yield — Earn safe yield on USDC\r
\r
Earn yield on USDC via the Moonwell Flagship USDC vault on Base.\r
\r
Vault: 0xc1256Ae5FF1cf2719D4937adb3bbCCab2E00A2Ca \r
Chain: Base (8453) \r
Asset: USDC (0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913)\r
\r
Why This Vault?\r
\r The Moonwell Flagship USDC vault is one of the safest places to earn yield on Base:\r \r
- Powers Coinbase — Provides $20M+ liquidity to Coinbase's BTC/ETH borrow products\r
- Blue-chip collateral only — Loans backed by ETH, cbETH, wstETH, cbBTC\r
- Conservative LTV ratios — Healthy collateral requirements\r
- Isolated markets — Risk is compartmentalized\r
- Battle-tested — Morpho's codebase is \x3C650 lines, immutable, extensively audited\r
- Multi-layer governance — Moonwell DAO + Block Analitica/B.Protocol curators\r \r
Current APY (~4-6%)\r
\r | Component | APY | Source |\r |-----------|-----|--------|\r | Base yield | ~4-5% | Borrower interest |\r | Rewards | ~0.5-1% | WELL + MORPHO via Merkl |\r | Total | ~4.5-6% | Sustainable, from real demand |\r \r Yields come from real borrowing demand, not unsustainable emissions.\r \r
Quick Start\r
\r
cd gekko-yield/scripts\r
pnpm install # or npm install\r
npx tsx setup.ts\r
```\r
\r
The setup wizard will:\r
1. Guide you to set your private key as environment variable\r
2. Save configuration to `~/.config/gekko-yield/config.json`\r
\r
## Commands\r
\r
### Interactive Setup\r
\r
```bash\r
npx tsx setup.ts\r
```\r
\r
Guides you through wallet configuration.\r
\r
### Check Position & APY\r
\r
```bash\r
npx tsx status.ts\r
```\r
\r
Returns: current deposit, vault shares, APY, wallet balances, estimated earnings.\r
\r
### Generate Report\r
\r
```bash\r
# Telegram/Discord format (default)\r
npx tsx report.ts\r
\r
# JSON format (for automation)\r
npx tsx report.ts --json\r
\r
# Plain text\r
npx tsx report.ts --plain\r
```\r
\r
### Deposit USDC\r
\r
```bash\r
npx tsx deposit.ts \x3Camount>\r
# Example: deposit 100 USDC\r
npx tsx deposit.ts 100\r
```\r
\r
Deposits USDC into the Moonwell vault. Handles approval automatically.\r
\r
### Withdraw\r
\r
```bash\r
# Withdraw specific amount of USDC\r
npx tsx withdraw.ts \x3Camount>\r
\r
# Withdraw all (redeem all shares)\r
npx tsx withdraw.ts all\r
```\r
\r
### Auto-Compound\r
\r
```bash\r
npx tsx compound.ts\r
```\r
\r
All-in-one command that:\r
1. Checks wallet for reward tokens (WELL, MORPHO)\r
2. Swaps them to USDC via Odos aggregator\r
3. Deposits the USDC back into the vault\r
\r
## Configuration\r
\r
Config location: `~/.config/gekko-yield/config.json`\r
\r
```json\r
{\r
"wallet": {\r
"source": "env",\r
"envVar": "PRIVATE_KEY"\r
},\r
"rpc": "https://mainnet.base.org"\r
}\r
```\r
\r
## Security\r
\r
⚠️ **This skill manages real funds. Review carefully:**\r
\r
- Private keys loaded at runtime from environment variable\r
- Keys never logged or written to disk by scripts\r
- All transactions simulated before execution\r
- Contract addresses verified on each run\r
- Scripts show transaction preview before sending\r
\r
### Recommended Setup\r
\r
1. **Dedicated wallet** — Create a hot wallet just for this skill\r
2. **Limited funds** — Only deposit what you're comfortable having in a hot wallet\r
3. **Keep gas funded** — Maintain small ETH balance on Base for transactions\r
\r
## Error Handling\r
\r
| Error | Cause | Fix |\r
|-------|-------|-----|\r
| Insufficient USDC | Not enough USDC in wallet | Bridge/transfer more USDC to Base |\r
| Insufficient gas | Not enough ETH for tx | Add ETH to wallet on Base |\r
| Wallet not configured | Missing config | Run `npx tsx setup.ts` |\r
| PRIVATE_KEY not set | Missing env var | Set `$env:PRIVATE_KEY="your-key"` |\r
\r
## Dependencies\r
\r
Scripts require Node.js 18+. Install deps before first run:\r
\r
```bash\r
cd scripts && pnpm install\r
```\r
\r
Packages used:\r
- `viem` — Ethereum interaction\r
- `tsx` — TypeScript execution\r
\r
---\r
\r
**Built by Gekko AI. Powered by ERC-8004.**\r
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install gekko-yield - 安装完成后,直接呼叫该 Skill 的名称或使用
/gekko-yield触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Gekko Yield 是什么?
Earn yield on USDC by supplying to the Moonwell Flagship USDC vault on Base. Use when depositing USDC, withdrawing from the vault, checking position/APY, or generating yield reports. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1603 次。
如何安装 Gekko Yield?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install gekko-yield」即可一键安装,无需额外配置。
Gekko Yield 是免费的吗?
是的,Gekko Yield 完全免费(开源免费),可自由下载、安装和使用。
Gekko Yield 支持哪些平台?
Gekko Yield 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Gekko Yield?
由 Serge(@sergey1997)开发并维护,当前版本 v1.0.0。