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
  • GMX Protocol Integration
  • Overview
  • Core Components
  • Example Prompts:
  1. Protocols & Functions Supported
  2. Defi Protocols

GMX

GMX Protocol Integration

Overview

This module provides integration with GMX, a decentralized spot and perpetual exchange where users can provide liquidity, swap assets and go long/short on supported assets. Suppliers provide liquidity to earn trading fees, while traders can access leverage.

Core Components

Trading

  • Open long position on supported asset

  • Open short position on supported asset

  • Swap between assets supported by the protocol

LP Operations

  • LP Functions:

    • Swap supported assets to buy GLP

    • Earn real yield through GLP

    • Swap GLP asset into supported assets

Example Prompts:

  • "HeyAnon, please supply 1000 USDT to GLP on GMX"

  • "HeyAnon, please use 1000 USDT on GMX to open a 3x long on BTCUSD. Take profit at 99%, Stop loss at 33%"

  • "HeyAnon, please update me on the current PnL of my positions on GMX"

PreviousKaminoNextSpark

Last updated 2 months ago