gate-dex-wallet

Gate DEX comprehensive wallet skill. Unified entry point supporting: authentication login, asset queries, transfer execution, DApp interactions, CLI command-line for five major modules. Use when users mention login, check balance, transfer, DApp interaction, signing, gate-wallet, CLI, command-line, openapi-swap and other wallet-related operations. Route to specific operation reference files through sub-function routing.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "gate-dex-wallet" with this command: npx skills add gate-exchange/gate-dex-wallet

Gate DEX Wallet

Comprehensive Wallet Skill — Unified entry point for authentication, assets, transfers, DApp interactions, and CLI command-line. 5 major modules through sub-function routing distribution.

Trigger Scenarios: Use this Skill when users mention "login", "check balance", "transfer", "DApp", "sign", "wallet", "assets", "gate-wallet", "CLI", "command-line", "openapi-swap" and other wallet-related operations.


Core Modules

ModuleDescriptionTypical Scenarios
🔐 AuthenticationGoogle OAuth login, Token management"login", "logout", "token expired"
💰 AssetsBalance queries, address retrieval, transaction history"check balance", "total assets", "transaction history"
💸 TransferGas estimation, transaction building, signature broadcast"transfer", "send tokens", "batch transfer"
🎯 DAppWallet connection, message signing, contract interaction"connect DApp", "sign message", "Approve"
🖥️ CLIgate-wallet CLI dual-channel (MCP custodial signing + OpenAPI hybrid mode)"gate-wallet", "CLI", "command-line", "openapi-swap", "hybrid swap"

Routing Rules

Route to corresponding sub-function reference files based on user intent:

User IntentExample KeywordsReference File
Authentication login"login", "login", "auth", "token expired", "session"references/auth.md
Asset queries"check balance", "total assets", "wallet address", "transaction history", "Swap history"Keep current SKILL.md main flow
Transfer operations"transfer", "send", "transfer", "batch transfer", "Gas fee"references/transfer.md
DApp interactions"DApp", "sign message", "Approve", "connect wallet", "contract call"references/dapp.md
CLI operations"gate-wallet", "CLI", "command-line", "openapi-swap", "hybrid swap", "hybrid mode swap"references/cli.md

MCP Server Connection Detection

Initial Session Detection

Execute connection probe once before first MCP tool call in session to confirm Gate Wallet MCP Server availability. No need to repeat detection for subsequent operations.

CallMcpTool(server="gate-wallet", toolName="chain.config", arguments={chain: "eth"})
ResultHandling
SuccessMCP Server available, continue executing user-requested specific operations
FailureShow configuration guidance based on error type (see error handling below)

Runtime Error Fallback

For subsequent operations, if business tool calls fail (connection error, timeout, etc.), handle according to the following rules:

Error TypeKeywordsHandling
MCP Server not configuredserver not found, unknown serverShow MCP Server configuration guidance
Remote service unreachableconnection refused, timeout, DNS errorSuggest checking server status and network connection
Authentication failure401, unauthorized, x-api-keySuggest contacting administrator for API Key

Authentication State Management

All operations requiring authentication (asset queries, transfers, DApp interactions) need valid mcp_token:

  • If currently no mcp_token → Guide to references/auth.md to complete login then return
  • If mcp_token expired (MCP Server returns token expired error) → First try auth.refresh_token silent refresh, guide to re-login if failed

MCP Tool Call Specifications (Asset Query Module)

1. wallet.get_token_list — Query Token Balances

Query token balance list for specified chain or all chains.

FieldDescription
Tool Namewallet.get_token_list
Parameters{ chain?: string, network_keys?: string, account_id?: string, mcp_token: string, page?: number, page_size?: number }
Return ValueToken array, each item contains symbol, balance, price, value, chain, contract_address, etc.

Call example:

CallMcpTool(
  server="gate-wallet",
  toolName="wallet.get_token_list",
  arguments={ chain: "ETH", mcp_token: "<mcp_token>" }
)

2. wallet.get_total_asset — Query Total Asset Value

FieldDescription
Tool Namewallet.get_total_asset
Parameters{ account_id: string, mcp_token: string }
Return Value{ total_value_usd: number, chains: Array<{chain: string, value_usd: number}> }

3. wallet.get_addresses — Get Wallet Addresses

FieldDescription
Tool Namewallet.get_addresses
Parameters{ account_id: string, mcp_token: string }
Return ValueWallet address objects for each chain

4. chain.config — Chain Configuration Info

FieldDescription
Tool Namechain.config
Parameters{ chain: string, mcp_token: string }
Return ValueChain configuration info (RPC, block explorer, etc.)

5. tx.list — Wallet comprehensive (auth, assets, transfer, DApp) transaction list

FieldDescription
Tool Nametx.list
Parameters{ account_id: string, chain?: string, page?: number, limit?: number, mcp_token: string }
Return ValueTransaction history array

6. tx.detail — Transaction Details

FieldDescription
Tool Nametx.detail
Parameters{ hash_id: string, chain: string, mcp_token: string }
Return ValueDetailed transaction information

7. tx.history_list — Swap History Records

FieldDescription
Tool Nametx.history_list
Parameters{ account_id: string, chain?: string, page?: number, limit?: number, mcp_token: string }
Return ValueSwap history array

Operation Flows

Flow A: Query Token Balances

Step 0: MCP Server connection detection
  ↓ Success

Step 1: Authentication check
  Confirm holding valid mcp_token and account_id
  No token → Route to references/auth.md
  ↓

Step 2: Execute query
  Call wallet.get_token_list({ chain?, network_keys?, mcp_token })
  ↓

Step 3: Format display
  Group by chain, sort by value, filter zero balances

Flow B: Query Total Asset Value

Step 0-1: Same as Flow A
  ↓

Step 2: Execute query
  Call wallet.get_total_asset({ account_id, mcp_token })
  ↓

Step 3: Format display
  Total value + distribution by chain

Flow C-G: Other Asset Query Flows

Similar to above flows, detailed specifications see original SKILL.md content.


Skill Routing

Post-asset viewing follow-up operation guidance:

User IntentTarget
View token prices, K-line chartsgate-dex-market
View token security auditsgate-dex-market
Transfer, send tokensThis Skill references/transfer.md
Swap/Exchange tokensgate-dex-trade
Interact with DAppsThis Skill references/dapp.md
Login/Auth expiredThis Skill references/auth.md
Use CLI / command-line operations / hybrid mode SwapThis Skill references/cli.md

Cross-Skill Collaboration

This Skill serves as wallet data center, called by other Skills:

CallerScenarioUsed Tools
gate-dex-tradePre-swap balance validation, token address resolutionwallet.get_token_list
gate-dex-tradeGet chain-specific wallet addresswallet.get_addresses
gate-dex-marketGuide to view holdings after market data querywallet.get_token_list
CLI sub-moduleCLI dual-channel operations (MCP custodial signing / OpenAPI hybrid Swap)references/cli.md

Supported Chains

Chain IDNetwork NameType
ethEthereumEVM
bscBNB Smart ChainEVM
polygonPolygonEVM
arbitrumArbitrum OneEVM
optimismOptimismEVM
avaxAvalanche C-ChainEVM
baseBaseEVM
solSolanaNon-EVM

Security Rules

  1. Authentication check: Check mcp_token validity before all operations
  2. Sensitive information: mcp_token must not be displayed in plain text in conversations
  3. Auto refresh: Prioritize silent refresh when token expires
  4. Guidance mechanism: Guide to references/auth.md when authentication fails
  5. Cross-Skill security: Provide secure balance validation and address retrieval for other Skills

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Web3

Binance Trade Hunter

Binance trading skill for coin analysis, pump detection, and one-click trading via Telegram. Use when the user wants to analyze crypto coins, check market tr...

Registry SourceRecently Updated
Web3

test

Monitor and analyze DeFi positions across protocols and chains. Track LP (liquidity provider) positions, staking rewards, yield farming returns, impermanent...

Registry SourceRecently Updated
Web3

Wallet Tracker

Multi-chain wallet asset tracker — monitor EVM and Solana wallets, aggregate portfolio, and detect holding changes. Use when you need wallet tracker capabili...

Registry SourceRecently Updated
Web3

Product Framework

Design and visualize AI product frameworks including layered architecture, value chains, capability maps, and competitive positioning for product managers.

Registry SourceRecently Updated
00Profile unavailable