HeyAnon.ai
  • Introduction
  • Features
  • Getting started
  • Troubleshooting
  • Video Tutorials
  • Anon token
  • Contracts
  • Protocols & Functions Supported
    • Infrastucture
      • Common
      • Safe
      • Pyth
      • Layer Zero
    • Defi Protocols
      • Aggregators
      • AAVE
      • Jito
      • Marinade
      • Kamino
      • GMX
      • Spark
      • CowSwap
      • Sky
      • Wagmi Functions Supported
        • AMM
        • Swagmi
        • GMI
      • V3 Pools Integration
    • Utility
      • Dust collection
  • HeyAnon Prompt Engineering Guide
    • Protocol Prompt List
  • Gemma prompt guide
    • Protocols integrated with Gemma
    • Gemma prompt list
  • Bridging to Sonic EVM
  • Brand kit
  • Terms and conditions
  • Social Channels
  • Framework for Integration Grants and Protocol SupportFramework - Integration
  • Team telegram contacts
Powered by GitBook
On this page
  • DEX Aggregators Integration
  • Overview
  • Core Components
  • Chain Support
  • Example Prompts:
  1. Protocols & Functions Supported
  2. Defi Protocols

Aggregators

DEX Aggregators Integration

Overview

This module enables efficient token swaps on decentralized exchanges by integrating multiple DEX aggregators. It optimizes trading routes and provides the best possible rates across various liquidity sources.

Core Components

Supported Aggregators

  • KyberSwap

  • 0x Protocol

  • OpenOcean

  • Odos

  • Magpie

  • OKX

  • Hypersonic

Swap Functionality

  • Token Swaps:

    • Execute trades with optimal routing

    • Support for multiple input/output tokens

    • Automatic best price discovery

    • Full or partial balance swaps

    • Cross-chain compatibility

Features

  • Optimal trade routing across multiple DEXs

  • Best price execution through aggregator comparison

  • Support for multiple blockchain networks

  • Automatic slippage protection

  • Gas-optimized transactions

  • Flexible amount specification (exact amounts or entire balance)

  • Comprehensive error handling

  • Gas estimation and optimization

Chain Support

  • Multiple blockchain networks supported

  • Cross-chain trading capabilities

  • Network-specific optimizations

Example Prompts:

  • "HeyAnon, please use 1000 USDT on Solana to buy 9McvH6w97oewLmPxqQEoHUAv3u5iYMyQ9AeZZhguYf1T"

  • "HeyAnon, please use 1000 USDT to buy ETH on Base with 420% TP, 69% SL"

PreviousDefi ProtocolsNextAAVE

Last updated 2 months ago