Aave V3 lending: supply tokens to earn yield, withdraw any time, view positions. Use when farming lending yield or checking Aave positions (e.g. supply 100 USDC on Arbitrum, withdraw all DAI, current Aave APY).

GitHub
安装命令
npx skhub add starchild-ai-agent/aave
Markdown
SKILL.md

Aave V3 Yield Farming

Supply tokens into Aave V3 lending pools to earn yield, withdraw at any time, and view positions across multiple chains.

Supported Networks: Ethereum, Arbitrum, Base, Optimism, Polygon, Avalanche.

Runtime Mode

This skill is script-only. It does not register aave_* tools.

Call via Python exports:

  • aave_positions(chain)
  • aave_supply(chain, token, amount)
  • aave_withdraw(chain, token, amount=0, max=False)

Imports: from skills.aave.exports import aave_positions, aave_supply, aave_withdraw

Wallet dependency is runtime-only via core.wallet_runtime.

Prerequisites

Before supply/withdraw, wallet policy must allow the transaction path.

Supported Tokens by Chain

ChainUSDCUSDTDAIWETHWBTC
Ethereumyesyesyesyesyes
Arbitrumyesyesyesyesyes
Polygonyesyesyesyesyes
Optimismyesyesyesyesyes
Avalancheyesyesyesyesyes
Baseyes—yesyes—

Script Examples

Read positions:

import asyncio
from skills.aave.exports import aave_positions

async def main():
    result = await aave_positions(chain="arbitrum")
    print(result)

asyncio.run(main())

Supply 100 USDC:

import asyncio
from skills.aave.exports import aave_supply

async def main():
    result = await aave_supply(chain="arbitrum", token="USDC", amount=100)
    print(result)

asyncio.run(main())

Withdraw partial / all:

import asyncio
from skills.aave.exports import aave_withdraw

async def main():
    part = await aave_withdraw(chain="arbitrum", token="USDC", amount=50)
    print(part)
    full = await aave_withdraw(chain="arbitrum", token="USDC", max=True)
    print(full)

asyncio.run(main())

Error Handling

ErrorCauseSolution
Unknown chainInvalid chain nameUse: ethereum, arbitrum, base, optimism, polygon, avalanche
Unknown tokenToken not available on that chainCheck supported tokens table
Insufficient balanceNot enough tokens in walletCheck wallet balance before supply
Amount must be positiveZero or negative amountUse a positive number
Policy violationWallet policy blocks transactionUpdate wallet policy
Not running on a Fly MachineLocal dev environmentSupply/withdraw require deployed env with wallet
发现
标签

此技能尚未发布标签。

版本
最新版本元数据

版本

v2026.09.24

发布时间

2026年9月24日

分类

未分类

许可证

未指定

源路径

aave

默认分支

main

最新提交

cce29fd

Tree SHA

baca3ec