Loading...
Loading...
Gate DEX CLI wallet skill (pure REST). Auth via OAuth, balance, wallet/account addresses, token list, tx history, transfers, and signing. GV checkin is built into signing commands. Use this skill whenever the user wants to log in, check balance/address, view tx history, transfer tokens, or sign messages via the gate-dex CLI. Trigger phrases include login, logout, balance, address, tokens, tx history, transfer, send, sign-msg, sign-tx. For swaps use gate-dex-trade-cli; for market data use gate-dex-market-cli.
npx skill4agent add gate/gate-skills gate-dex-wallet-cligate-dexPure Routing Layer — This SKILL.md is a lightweight router. Sub-module details live in.references/
gate-dex~/.gate-dex/auth.jsongate-dexgate-dex| Supported | Route elsewhere |
|---|---|
| Authentication & session management | Token swap → |
| Balance, address & token list queries | Market data / token info / K-line → |
| Transaction history | DApp interactions → |
| Token transfers (EVM + Solana) | x402 payments → |
| Sign 32-byte hex messages / raw tx | MCP tool calls → |
gate-dexskill/setup.sh/home/node/.openclaw/skills/bin/gate-dexRUN_ENV*_URLprocess.envinstallcd cli && pnpm install
pnpm build:binary # production binary (no baked env)
pnpm build:binary -- --bake-env # bake root .env into the binary (test env)# GateClaw / OpenClaw: auto-installed via setup.sh or frontmatter.install
# Manual download (example):
curl -fsSL https://gate-dex-cli.gateweb3.cc/latest/gate-dex-linux-x64 \
-o /usr/local/bin/gate-dex
chmod +x /usr/local/bin/gate-dex
# Login
gate-dex login # Gate OAuth (default)
gate-dex login --google # Google OAuth~/.gate-dex/auth.json| Variable | Purpose |
|---|---|
| |
| |
| |
| |
| |
| OAuth session management endpoint |
| Option | Description |
|---|---|
| Custom auth storage directory (overrides |
| Custom auth.json file path (overrides |
| Print version |
| Sub-module | File | Scope |
|---|---|---|
| Auth | | OAuth login/logout, session status, web3-domain |
| Asset Query | | balance, address, tokens, tx-history, tx-detail |
| Transfer & Sign | | transfer (preview), send (one-shot), sign-msg, sign-tx, sol-tx, gas |
| User Intent | Target |
|---|---|
| Login, logout, re-login, session expired, OAuth, "not logged in", switch account, web3-domain | |
| Check balance, total assets, wallet address, account address, token list, tx history, "how much do I have", "show my tokens" | |
| Transfer, send tokens, "send ETH to 0x...", "transfer USDT", "pay someone", "move tokens", sign-msg, sign-tx, sol-tx | |
| Swap, exchange tokens, "swap ETH for USDT", "buy SOL", quote, "convert tokens" | → |
| K-line, token price, market cap, liquidity, trading stats, token security, token rankings, new tokens | → |
references/auth.mdreferences/asset-query.mdreferences/transfer.mdsendsign-msgsign-txsendtransfergate-dex-trade-cligate-dex-market-cli| Command | Description |
|---|---|
| Gate OAuth Device Flow login |
| Google OAuth Device Flow login |
| Print auth URL instead of opening browser |
| Logout and clear |
| Show current session info |
| View / refresh dynamic web3_domain list |
| Force re-fetch domain list |
| Command | Description |
|---|---|
| Total portfolio value (USD) across all chains |
| Show EVM + Solana wallet addresses |
| Token list with balances (gateway) |
| Filter by chain |
| Pagination |
| Command | Description |
|---|---|
| Preview-only unsigned tx (no broadcast) |
| One-shot: preview → GV checkin → sign → broadcast |
| Build → GV checkin → sign → broadcast (or broadcast pre-signed with |
| Build Solana unsigned tx locally (latest blockhash) |
| Query gas price + gas limit |
| Sign 32-byte hex message (GV checkin built-in) |
| Sign raw hex transaction (GV checkin built-in) |
gate-dex-trade-cliquoteswapswap-tokensbridge-tokensswap-historyswap-detailgate-dex-trade-cli| Command | Description |
|---|---|
| Transfer transaction history |
| Transaction detail by hash |
gate-dex-market-clitx-statsklineliquiditytoken-infotoken-risktoken-ranknew-tokensgate-dex-market-cli| Command | Description |
|---|---|
| Chain config (networkKey, endpoint, chainID) |
| Raw JSON-RPC call |
| Command | Description |
|---|---|
| Delete |
| Aspect | This skill (gate-dex-wallet-cli) | MCP-based skill (gate-dex-wallet) |
|---|---|---|
| Transport | Pure REST (no MCP) | MCP tool calls |
| GV security checkin | Built into CLI | External |
| Auth storage | | MCP session |
| Swap method | | |
| Transfer method | | |
| Agent binary dependency | None | |
tx-checkinsendswapsendswapgate-dex addressgate-dex tokensgate-dex transfergate-dex send ...gate-dex tx-detail <hash>send| User Intent After Operation | Target |
|---|---|
| Check balance / tokens | |
| Transfer tokens | |
| Swap tokens | |
| Token prices, K-line, token security | |
| Login / session issues | |
| User Intent | Correct Skill |
|---|---|
| DApp connect / sign / approve / contract call | |
| x402 payment | |
| On-chain withdraw to Gate Exchange (UID binding) | |
| MCP tool calls directly | |
ethbscpolygonarbitrumoptimismavaxbasesolsendsendbalanceaddresstokenstx-historytx-detailtransfertransfersendtx-checkin~/.gate-dex/auth.jsonsend