HeyAnon Prompt Engineering Guide

This guide aims to assist users with the necessary knowledge to craft prompts effectively for HeyAnon. By understanding the principles outlined here, you will learn to formulate prompts that align with HeyAnon's capabilities, ensuring optimal functionality and successful outcomes.

HeyAnon's AI Capabilities

HeyAnon's AI capabilities consist of:

  • Attribute Extraction: Pulling all the relevant details from your prompt.

  • Intent Recognition: Effectively understanding what you want to accomplish.

  • Transaction Flow Construction: Building the necessary steps to complete your request.

Multiple-Action Prompts

Multiple-action prompts follow the same rules as single-action ones. You can mix different actions together (e.g., "Swap 100 USDC to WETH on Ethereum and deposit all WETH into @aaveV3 on Base") or repeat the same action (e.g., "Swap 100 USDT to WETH on Arbitrum and Swap 100 USDT to WETH on Arbitrum").

HeyAnon will extract your intent and build multiple transactions accordingly.

To execute any action, users must tag the relevant protocol using the "@" symbol, followed by the exact protocol name as listed. Protocol names are case-sensitive, so ensure that you use the correct capitalization (e.g., @aaveV3, not @AaveV3). Additionally, many protocols operate on multiple networks, so users must specify the network when applicable to avoid misdirected transactions. For example, if using a protocol available on multiple chains, include the network in your request, such as @cyberperp [network] open trade [long/short] [amount] [asset] [leverage]. Failure to follow these rules may result in errors, failed transactions, or unintended outcomes. Always double-check your inputs before executing any command.

Supported Actions Overview

The following table gives you an overview of all the supported actions on HeyAnon:

Basic swap:

Protocol
Action
Description
Example Prompt

Any aggregator

Swap

Swap 10 USDT into ANON on BNB using aggregtor.

Swap 10 USDT into ANON on BNB using aggregtor.

1. Wagmi Dex

Protocol
Description
Example Prompt

DEX Swap

na

na

Join Strategy

Deposit a token pair into a liquidity pool to join a multipool strategy.

Join the WETH/USDT @multipool on Kava on with 0.05 ETH and 10 USDT

Join GMI

Contribute LP tokens from a multipool strategy to earn GMI rewards.

Join @gmi using my WETH/USDT WLP tokens on on Kava

Provide Liquidity

na

na

Stake WAGMI

Stake your WAGMI tokens via the swagmi protocol to earn sWAGMI rewards.

Stake 100 WAGMI on @swagmi on Kava


2. GMX Protocol

Action
Description
Example Prompt

Long ETH using USDT Collateral

Open a long position on ETH using USDT as collateral.

Long 1 ETH with 5000 USDT as collateral on @gmx on Aribtrum

Short BTC using ETH Collateral

Open a short position on BTC using ETH as collateral.

Short 0.2 BTC using 5 ETH as collateral on @gmx on Arbitrum

Buy GLP with USDC

Purchase GLP tokens using USDC.

Buy GLP on @gmx with 100 USDC on Arbitrum


3. Aave V3

Action
Description
Example Prompt

Deposit

Supply ETH into Aave V3 to earn interest and increase your borrowing power.

Deposit all my ETH into @aaveV3 on Ethereum

Borrow Against

Borrow assets using your deposited ETH as collateral.

Borrow 0.1 ETH from @aaveV3 on Arbitrum

Repay

Repay a portion or all of your borrowed debt.

Repay 0.05 ETH of my debt on @aaveV3 on Ethereum


4. Other Protocols

Protocol
Action
Description
Example Promp

Sky

Supply/Withdraw USDS

Supply USDS to earn SKY tokens (STR module).

Supply 100 USDS into the @sky on Base

Sky

Supply/Withdraw USDS

Withdraw USDS to mint/burn auto-compounding sUSDS tokens (SSR module).

Withdraw 50 USDS from @sky on Base

Spark

Deposit

Deposit ETH to earn yield-bearing spTokens.

Deposit 2 ETH into @spark on BASE

Spark

Borrow

Borrow assets against your collateral.

Borrow 50 DAI from @spark on Base

Cyberperp

Leveraged Trading

Open leveraged long or short positions on perpetual markets.

Open a $100 IOTA leveraged long position on on @cyberperp using 0.1 ETH as collateral

Cyberperp

Provide Liquidity

Supply tokens to CyberLP to Earn trading fees.

Provide liquidity on @cyberperp with 100 USDC

Conditional Prompts:

Protocol
Action
Description
Example Prompt

Cyberperp

Long

Long 100 IOTA if price drops 10%

Long 100 USD worth of IOTA on @cybereperp using 100 USDT as collateral if price of Iota drops 10% from current price.

Aave V3

Repay

Repay all debt if the price of ETH drops more than 10% from the current price.

Repay all my debt on @aaveV3 if price of ETH drops more than 10% from current price.

Last updated