hackquest logo

EDUCHAIN Agent Kit

This MCP (Model Context Protocol) server provides tools and resources for interacting with EDUCHAIN. It allows Claude to query information about tokens and pools and perform swaps through SailFish DEX

비디오

기술 스택

Ethers
AI
LLM
MCP
Claude

설명

This MCP (Model Context Protocol) server provides tools and resources for interacting with EDUCHAIN. It allows Claude to query information about tokens and pools and perform swaps and bridges of EDU token. This MCP server allows users without Web3 knowledge to perform onchain transaction on EDUCHAIN with little or zero web3 knowledge.

Installation

  1. Make sure you have Node.js installed & Download Claude Desktop

  2. Clone the Educhain AI Agent Kit repository

  3. From terminal, navigate to the folder and Install dependencies:

    npm install
  4. Build the project:

    npm run build
  5. Add the MCP server to your Claude Desktop configuration file:

    {
      "mcpServers": {
        "educhain": {
          "command": "node",
          "args": ["/path/to/SubgraphMCP/build/index.js"],
          "env": {
            "RPC_URL": "https://your-edu-rpc-url.com"
          }
        }
      }
    }

    Make sure `/path/to/SubgraphMCP/build/index.js` corresponds with your cloned repository path on your machine

Features

Token and Pool Information

  • Get token prices and details

  • Get pool information and statistics

  • View historical data for tokens and pools

  • Get top tokens and pools by TVL

Wallet Operations

  • Check EDU and token balances

  • Get wallet overviews including tokens and NFTs

  • Send EDU and ERC20 tokens

Swap Operations

  • Get swap quotes with price impact and route information

  • Swap tokens for tokens

  • Swap EDU for tokens (using WEDU internally)

  • Swap tokens for EDU (using WEDU internally)

Arbitrage Operations

  • Get external market data for EDU from centralized exchanges

  • Check for arbitrage opportunities between CEX and SailFish DEX

  • Configurable external market data API

  • Customizable arbitrage detection threshold

Tools

Token and Pool Information

  • get_token_price: Get the current price of a token on SailFish DEX

  • get_token_info: Get detailed information about a token on SailFish DEX

  • get_pool_info: Get detailed information about a liquidity pool on SailFish DEX

  • get_top_tokens: Get a list of top tokens by TVL on SailFish DEX

  • get_top_pools: Get a list of top liquidity pools by TVL on SailFish DEX

  • get_total_tvl: Get the total value locked (TVL) in SailFish DEX

  • get_24h_volume: Get the 24-hour trading volume on SailFish DEX

  • get_token_historical_data: Get historical data for a token on SailFish DEX

  • get_pool_historical_data: Get historical data for a liquidity pool on SailFish DEX

Wallet Operations

  • get_edu_balance: Get the EDU balance of a wallet address

  • get_token_balance: Get the token balance of a wallet address with USD value

  • get_multiple_token_balances: Get multiple token balances for a wallet address

  • get_nft_balance: Get the NFT balance of a wallet address for a specific NFT collection

  • get_wallet_overview: Get an overview of a wallet including EDU, tokens, and NFTs

  • get_wallet_address_from_private_key: Get wallet address from private key

  • send_edu: Send EDU native token to another wallet address

  • send_erc20_token: Send ERC20 token to another wallet address

Swap Operations

  • get_swap_quote: Get a quote for swapping tokens on SailFish DEX

  • swap_tokens: Swap tokens on SailFish DEX (token to token)

  • swap_edu_for_tokens: Swap EDU for tokens on SailFish DEX

  • swap_tokens_for_edu: Swap tokens for EDU on SailFish DEX

  • wrap_edu: Wrap EDU to WEDU (Wrapped EDU)

  • unwrap_wedu: Unwrap WEDU (Wrapped EDU) to EDU

Arbitrage Operations

  • get_external_market_data: Get external market data for EDU from centralized exchanges

  • check_arbitrage_opportunities: Check for arbitrage opportunities between CEX and SailFish DEX

  • update_external_market_config: Update the configuration for external market data API

  • get_external_market_config: Get the current configuration for external market data API

Configuration

  • set_rpc_url: Set the RPC URL for blockchain interactions

  • get_rpc_url: Get the current RPC URL used for blockchain interactions

Resources

  • sailfish://overview: Overview of SailFish DEX including TVL, volume, and other metrics

  • sailfish://token/{tokenId}: Information about a specific token on SailFish DEX

  • sailfish://pool/{poolId}: Information about a specific liquidity pool on SailFish DEX

    🎉 Now Listed on the MCP.so directory

해커톤 진행 상황

80

자금 모금 상태

N/A
팀 리더
OOlu .
프로젝트 링크
부문
AI