/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
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install gekko-yield - After installation, invoke the skill by name or use
/gekko-yield - Provide required inputs per the skill's parameter spec and get structured output
What is 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. It is an AI Agent Skill for Claude Code / OpenClaw, with 1603 downloads so far.
How do I install Gekko Yield?
Run "/install gekko-yield" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Gekko Yield free?
Yes, Gekko Yield is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Gekko Yield support?
Gekko Yield is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Gekko Yield?
It is built and maintained by Serge (@sergey1997); the current version is v1.0.0.