> For the complete documentation index, see [llms.txt](https://docs.heyanon.ai/heyanon-v2/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.heyanon.ai/heyanon-v2/readme/advanced-tutorials.md).

# Advanced tutorials

### 🧠 Advanced Tutorials

Once you’ve mastered the basics, HeyAnon allows you to perform **advanced DeFi actions** using simple, natural-language prompts.\
These commands leverage protocol integrations and automation modules to execute complex strategies across multiple networks.

> ⚠️ **Always specify the network** on which you want the action to be executed.\
> Example: `Claim Aave rewards on Sonic`, `Deposit 100 USDC to Aave on Arbitrum`.

***

#### 🎁 1. Claim Rewards

**Prompt Example:**

```
Claim all my rewards on Aave on Arbitrum
```

**What Happens:**\
HeyAnon locates eligible rewards (lending, staking, farming, or protocol-specific) and executes the claim automatically.

**Use Case Examples:**

* `Claim rewards on Beefy on BNB Chain`
* `Claim staking rewards on Lido on Ethereum`
* `Claim all V3 rewards on Sonic`

***

#### 🧹 2. Collect Dust

**Prompt Example:**

```
Collect dust on Polygon below $10 and swap it into USDC
```

**What Happens:**\
HeyAnon scans your wallet for **small leftover balances (“dust”)** and automatically consolidates or swaps them into a main token.

**Use Case Examples:**

* `Collect and swap dust to USDC on BASE`
* `Collect and swap dust to USDC on Sonic`

***

#### 🔒 3. Revoke Approvals

**Prompt Example:**

```
Revoke all token approvals on Arbitrum
```

**What Happens:**\
HeyAnon identifies all active token approvals and revokes them for improved wallet security.

**Use Case Examples:**

* `Revoke USDC approval for Uniswap on Ethereum`
* `Revoke all approvals on BNB Chain`

***

#### ⚙️ 4. Swap with Conditionals

Add trading conditions such as **Take Profit (TP)**, **Stop Loss (SL)**, or **percentage-based allocation** directly in your prompt.

**Prompt Examples:**

```
Swap 100 USDC for ETH on Sonic with TP at $3,500
Swap 1 ETH for USDC on Base with SL at $2,900
Swap 20% of my USDT for TON on TON
```

**What Happens:**\
HeyAnon monitors your trade conditions and executes the swap automatically when parameters are met.

💡 *You can reuse the same video/demo to showcase different conditionals — only the text prompt changes.*

***

#### 🌉 5. Bridge with Parameters

**Prompt Example:**

```
Swap 500 USDC from Arbitrum to Sonic as ETH
```

**What Happens:**\
HeyAnon uses integrated cross-chain bridges (deBridge) to transfer the specified amount and format (e.g., convert USDC → ETH).

**Use Case Examples:**

* `Swap 200 USDT from Polygon to Base as USDC`
* `Swap 1 ETH from Ethereum to Sonic as S`

***

#### 🏦 6. Deposit Assets to Protocols

Use HeyAnon to deposit assets into supported DeFi protocols for lending, yield, or derivatives exposure.

**Prompt Examples:**

```
Deposit 1000 USDC to Aave on Arbitrum
Deposit 200 USDC to Hyperliquid from Arbitrum
Deposit 500 USDC to Kamino on Solana
```

**What Happens:**\
HeyAnon:

* Detects the target dApp
* Connects to the correct network
* Executes the deposit and confirms position creation

**Supported Protocols Include:**

* **Aave (EVM)** — lending & borrowing
* **Hyperliquid (own L1)** — perpetuals trading
* **Kamino (Solana)** — yield & liquidity vaults

💡 *Tutorial videos can use the same format — just replace the target protocol name.*

***

#### 🧩 Combine Prompts for Multi-Step Automation

HeyAnon supports **chained commands** within a single prompt for efficient automation.

**Example:**

```
Bridge 1000 USDC from Base to Sonic then Deposit USDC to Aave
```

This allows users to automate multiple actions - bridge and deposit in a single command.

***
