Xpersona
G

Gate DEX Wallet

CLAWHUB · Unverified

Gate DEX wallet account management. Handles authentication (Google OAuth and Gate OAuth), token balance queries, wallet address retrieval, transaction and sw...

62
Rank
84
Safety
1.4k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.4K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s172g4d1dcv6ccs6desbb2xw1583qza9:gate-dex-wallet
  1. Install using `clawhub skill install s172g4d1dcv6ccs6desbb2xw1583qza9:gate-dex-wallet` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/gate-exchange/gate-dex-wallet before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-gate-exchange-gate-dex-wallet/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

145,273 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: gate-dex-wallet
version: "2026.4.3-2"
updated: "2026-04-03"
description: "Gate DEX wallet account management. Handles authentication (Google OAuth and Gate OAuth), token balance queries, wallet address retrieval, transaction and swap history, token transfers, on-chain withdraw to Gate Exchange (deposit address, UID binding, min-deposit), x402 payment (HTTP 402 Payment Required with EVM exact/upto and Solana exact/upto schemes; terminal tx-checkin before dex_tx_x402_fetch per references/x402.md), DApp wallet-connect and contract interactions, and CLI tooling. Signing MCP calls require mandatory terminal tx-checkin (prebuilt **`tools/tx-checkin/bin/`** — users do not compile) per references/tx-checkin.md. Use when the user wants to manage their on-chain wallet identity or assets — not for market data lookups or token swap execution."
---

# Gate DEX Wallet

> **Pure Routing Layer** — This SKILL.md is a lightweight router. All sub-module details live in `references/`.

## General Rules

⚠️ STOP — You MUST read and strictly follow the shared runtime rules before proceeding.
Do NOT select or call any tool until all rules are read. These rules have the highest priority.
→ Read [gate-runtime-rules.md](https://github.com/gate/gate-skills/blob/master/skills/gate-runtime-rules.md)

## Signing gate — terminal tx-checkin (mandatory)

Before **any** MCP call to `dex_wallet_sign_transaction`, `dex_wallet_sign_message`, or **`dex_tx_x402_fetch`**:

1. User must pass the existing confirmation gates (preview / message text / payment intent) for that operation.
2. Agent **MUST** run the terminal **`tx-checkin`** flow in [references/tx-checkin.md](./references/tx-checkin.md) and treat success as a **hard prerequisite**. Do not skip because a prior operation did not require it or no error was returned. Use the **prebuilt** check-in binaries under **`tools/tx-checkin/bin/`** — **end users do not compile** (`go build` / `go run` not required). Resolve the CLI from this skill’s **`skill_root`**: **Linux → `tx-checkin-linux-amd64`**, **macOS → `tx-checkin-darwin-universal`**, **Windows → `tx-checkin-windows-amd64.exe`** — **users need not set `TX_CHECKIN`** (optional override only); see [references/tx-checkin.md](./references/tx-checkin.md).
3. After **`dex_tx_transfer_preview`**, check-in **must** use the preview field **`txBundle`** only: write that string to a file and run **`tx-checkin -tx-bundle-file`** — **do not** assemble txbundle JSON from `unsigned_tx_hex` or other fields (see [references/tx-checkin.md](./references/tx-checkin.md)).
4. **x402 (`dex_tx_x402_fetch`)**: **Always** complete terminal check-in **before** the first `dex_tx_x402_fetch` call in that payment flow. **Do not** call `dex_tx_x402_fetch` first to probe 402 or “see if GV needs check-in.” After successful check-in, pass **`checkin_token`** from stdout JSON into `dex_tx_x402_fetch` when the tool exposes that parameter; use **`-intent` / `-message`** (or documented body) for check-in p

README.md

# Gate DEX Wallet

> **Comprehensive Wallet Skill** — Unified entry for authentication, asset queries, transfer execution, and DApp interactions. Supports both MCP and CLI parallel implementation approaches.

Gate DEX Wallet provides complete Web3 wallet operation capabilities, dual-supported by Gate DEX MCP Server and gate-wallet CLI tool, enabling unified management and routing distribution for four core modules.

## 🔄 Auto-Update Feature

This skill automatically checks for updates from the [Gate Skills Repository](https://github.com/gate/gate-skills/tree/master/skills/gate-dex-wallet) **only at session start or first installation**:

- ⚡ **Performance Optimized**: Only checks once per session (no interaction delays)
- 🕐 **Smart Cooldown**: 1-hour minimum between version checks
- ✅ **Session Caching**: Skip repeated checks within the same session
- 🛡️ **Stable Operation**: Update failures never interrupt normal functionality  
- 🔍 **Version Tracking**: Current version displayed at session start
- 🌐 **Remote Source**: Official Gate Skills repository on GitHub

**Update Timing**:
- 🚀 **Session Start**: Check once when session begins
- 📦 **First Install**: Check during initial skill installation  
- 🔧 **Manual Trigger**: User can request "check for updates"
- ❌ **Never**: During normal user interactions (for performance)

**Update Rules**:
- 📈 Update: Local version < Remote version
- ⏭️ Skip: Remote skill doesn't exist or Local version ≥ Remote  
- 💡 User-friendly notifications for all update statuses

---

## 🎯 Core Modules

| Module | Function Scope | Typical Scenarios |
|--------|----------------|-------------------|
| 🔐 **Authentication** | Google OAuth and Gate OAuth login, token management | Login verification, session management, auto refresh |
| 💰 **Assets** | Balance queries, address retrieval, transaction history | View holdings, total assets, historical records |
| 💸 **Transfer** | Gas estimation, transaction building, signature broadcasting | Token transfers, batch transfers, fee calculation |
| 💳 **x402 Payment** | HTTP 402 — `dex_tx_x402_fetch`: pay (EVM exact / EVM upto / Solana) and retry | Gated API, flight order, usage-based upto (see [references/x402.md](./references/x402.md)) |
| 🎯 **DApp** | Wallet connection, message signing, contract interaction | DeFi operations, NFT interactions, contract approvals |

---

## 🏗️ Implementation Architecture

This skill provides two parallel wallet implementation approaches:

### MCP Implementation (AI Platform Integration)
- **Technical Approach**: Call wallet functions via MCP Server
- **Use Cases**: Wallet operations in AI conversations, cross-skill collaboration, unified authentication management
- **Core Features**: Server-side hosted signing, OAuth authentication, one-shot operations
- **Trigger Conditions**: Wallet operations mentioned in AI platform conversations

### CLI Implementation (Command Line Tool)
- **Technical Approach**: Operate via `gate-wallet` command 

_meta.json

{
  "ownerId": "kn74x9hm07phcw70v30nff2x2h82t09z",
  "slug": "gate-dex-wallet",
  "version": "1.0.3",
  "publishedAt": 1775557942072
}

references/asset-query.md

---
name: gate-dex-asset-query
version: "2026.3.25-1"
updated: "2026-03-25"
description: "Gate Wallet asset query module. Query token balances, total portfolio value, wallet addresses, transaction history, and swap history. Use when the user wants to check their holdings, view past transactions, or retrieve wallet addresses."
---

# Gate DEX Asset Query

> Asset query module — token balances, total portfolio value, wallet addresses, transaction history, and swap history. 7 MCP tools.

## Applicable Scenarios

Use when the user wants to:

- View their wallet holdings or check balances on a specific chain
- See total portfolio value in USD
- Retrieve wallet addresses (EVM / Solana)
- Browse transaction history or swap history
- Look up details of a specific transaction by hash

## Capability Boundaries

- **Supports**: Token balance queries, total asset value (USD), wallet address retrieval, transaction history, swap history, single transaction details, chain configuration
- **Does not support**: Token transfers (-> [transfer.md](./transfer.md)), token swaps (-> `gate-dex-trade`), market data queries (-> `gate-dex-market`), x402 payment (-> [x402.md](./x402.md))

**Prerequisites**: MCP Server available (see parent SKILL.md). All operations require a valid `mcp_token`. If missing or expired, route to [auth.md](./auth.md).

---

## MCP Tools


| Tool                         | Purpose                    | Key Parameters                                                               |
| ---------------------------- | -------------------------- | ---------------------------------------------------------------------------- |
| `dex_wallet_get_token_list`  | Token balances per chain   | `chain?`, `network_keys?`, `account_id?`, `mcp_token`, `page?`, `page_size?` |
| `dex_wallet_get_total_asset` | Total asset value (USD)    | `account_id`, `mcp_token`                                                    |
| `dex_wallet_get_addresses`   | Wallet addresses per chain | `account_id`, `mcp_token`                                                    |
| `dex_chain_config`           | Chain configuration info   | `chain`, `mcp_token`                                                         |
| `dex_tx_list`                | Transaction history        | `account_id`, `chain?`, `page?`, `limit?`, `mcp_token`                       |
| `dex_tx_detail`              | Single transaction details | `hash_id`, `chain`, `mcp_token`                                              |
| `dex_tx_history_list`        | Swap history               | `account_id`, `chain?`, `page?`, `limit?`, `mcp_token`                       |


---

## Execution Flow

```
Step 0: MCP Server connection detection (once per session)
  |
Step 1: Authentication check
  |- No mcp_token -> Route to auth.md
  +- Valid token  -> Continue
  |
Step 2: Execute query based on user intent
  |- Token balances:   dex_wallet_get_token_list({ chain?, mcp_token })
  |- Total assets:     dex_wallet_get_total_asset({ account_

references/auth.md

---
name: gate-dex-auth
version: "2026.3.25-1"
updated: "2026-03-25"
description: "Gate Wallet authentication module. Manages Google OAuth and Gate OAuth login, and logout. Use when the user needs to log in, log out, or refresh an expired session, or when another skill detects a missing mcp_token."
---

# Gate DEX Auth

> Authentication module — manages Google OAuth and Gate OAuth login, token refresh, and logout. 7 MCP tools.

## Applicable Scenarios

Use when the user wants to authenticate or manage their session, or when another skill detects a missing or expired `mcp_token`:

- Direct login request: "login", "sign in", "authenticate", "connect my wallet account"
- Logout: "logout", "sign out", "disconnect", "end session"
- Token/session issues: "session expired", "not logged in", "token invalid", "I can't access my wallet"
- Account switching: "switch account", "login with a different account", "use another wallet"
- Routed from other modules: any tool returns 401/unauthorized or missing `mcp_token`
- OAuth-specific: "Google login", "Gate login", "use my Gate account", "login via Google"

## Capability Boundaries

- Login itself does **not** require `mcp_token` — this is the entry point for obtaining one.
- `dex_auth_logout` requires an existing token.
- After successful login, `mcp_token` and `account_id` are passed to all other skills that require authentication.

**Prerequisites**: MCP Server must be available. If not configured, see parent SKILL.md for the setup guide.

---

## MCP Tools

### 1. `dex_auth_google_login_start` — Start Google OAuth Login

Initiates Google Device Flow login and returns a verification URL.


| Field          | Description                                     |
| -------------- | ----------------------------------------------- |
| **Parameters** | None                                            |
| **Returns**    | `{ verification_url: string, flow_id: string }` |


Agent behavior: Display `verification_url` directly to the user. The link must be complete, copyable, and clickable — do not add quotes, parentheses, or escape characters.

### 2. `dex_auth_google_login_poll` — Poll Google Login Status

Polls Google OAuth login results using `flow_id`.


| Field          | Description                                                                           |
| -------------- | ------------------------------------------------------------------------------------- |
| **Parameters** | `{ flow_id: string }`                                                                 |
| **Returns**    | `{ status: string, mcp_token?: string, refresh_token?: string, account_id?: string }` |



| status    | Meaning                              | Next Action                                        |
| --------- | ------------------------------------ | -------------------------------------------------- |
| `pending` | User has not completed authorization | Wait a few seconds, then retry                     |
| `success` | Login successf

Sponsored

Ads related to Gate DEX Wallet and adjacent AI workflows.