Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

trust-wallet-mcp

БесплатноБез исполняемых скриптовНе проверен

Use Trust Wallet through the `twak` MCP server (bundled with the Trust Wallet plugin, including in Grok Bot) - set it up, connect the user's Trust Wallet app…

trustwalletот trustwallet★ 111 звёзд на GitHub

Об этом скилле

Trust Wallet through the twak MCP server

The twak MCP server (started by this plugin; some hosts show it as plugin-trust-wallet-twak) exposes Trust Wallet actions as tools: get_wallet_status, switch_wallet_mode, list_addresses, get_address, wallet_portfolio, wallet_balance, get_balance, get_token_holdings, transfer, get_swap_quote, swap, get_onramp_quote, get_onramp_url, get_offramp_quote, get_offramp_url, confirm_offramp_transfer, check_token_risk, get_transaction_history and more. The tools are listed even before setup.

When you run the CLI yourself, use the same version range as the server, 2 (the latest 2.x): npx -y @trustwallet/cli@2 <command> --json. Do not install another version, and do not run twak setup: it registers a second twak server next to this one, and the two would share the same WalletConnect session.

If the twak tools are missing, the server did not start: it needs Node.js and npx on this computer. Tell the user, and check that npx -y @trustwallet/cli@2 --version prints a 2.x version.

On Grok Bot, read On Grok Bot first: setup differs there.

1. Make sure the server is ready

Call get_wallet_status.

  • It returns state, localSigning and twakHome, the folder the server keeps its files in (wallet, WalletConnect session, credentials). localSigning is guarded when the server was started with local signing on, so the agent wallet can sign under the user's signing policy (section 3), and disabled when it was not, so the agent wallet can be read but never signs. state:
    • unbound: no wallet in use yet (section 2).
    • wc-connected: the user's Trust Wallet app is connected.
    • wc-pairing: a pairing is waiting for the user's approval.
    • local: an agent wallet already exists and is in use (the server uses it automatically at startup). Do not create another one; tell the user it is active and confirm with them before any transaction. It signs only when localSigning is guarded.
  • If a tool returns code CREDENTIALS_MISSING, the Trust Wallet API credentials are not set up. The user gets them at https://portal.trustwallet.com/dashboard/apps (an access ID and an HMAC secret). Have the user set TWAK_ACCESS_ID and TWAK_HMAC_SECRET in your environment, never pasting them in chat, then run TWAK_HOME=<twakHome> npx -y @trustwallet/cli@2 init --json with the twakHome the server reported (expected: { "configured": true, ... }). The tools work as soon as the credentials are saved in that folder, with no restart.

2. Choose how transactions are signed

Two modes. Unless the user already chose one, explain both in a sentence each, then recommend the Trust Wallet app and say why in the same sentence: their keys never leave their phone and nothing moves without their approval, while an agent wallet's funds can be moved by the agent alone. Let them choose; do not pair or create a wallet before they do.

Trust Wallet app (WalletConnect) Agent wallet
Keys stay in the user's Trust Wallet app a separate wallet created for you, encrypted in twakHome
Each send, swap or approval approved by the user in the app signed by the server within the user's signing policy: small amounts run, anything else needs the user's confirmation
Chains for transactions EVM chains only all supported chains

The agent wallet signs only when the server was started with local signing on (localSigning is guarded). When it is disabled, every signing tool returns LOCAL_SIGNING_DISABLED: tell the user. They can connect the Trust Wallet app instead, or turn local signing on themselves by adding --allow-local-signing to the arguments of the twak serve command in their MCP configuration and restarting their host. You cannot turn local signing on: no tool does, so never edit the server's configuration or restart it with that flag on your own; give the user these steps and let them do it.

Automations (DCA, limit orders) need the agent wallet, local signing, the user's approval of the rule (twak automate approve <id>) and a running watcher (twak serve --allow-local-signing --watch or twak watch), which this plugin does not start: rules can be saved, but only run once approved and watched. run_automation_now is not pre-approved: it goes through the signing policy like a swap.

Trust Wallet app (WalletConnect)

You never hold keys.

  1. If get_wallet_status shows state wc-connected, the app is already connected: go to section 3. A connection survives server restarts and lasts about 7 days, unless you switch modes (see below).
  2. Call switch_wallet_mode with {"mode": "walletconnect"}.
  3. Give the user pairing.deepLink as a clickable link (phone users), and show the QR image the tool returns (desktop users scan it with their phone); do not draw your own QR. The pairing expires after 5
Полный SKILL.md на GitHub

Установить trust-wallet-mcp в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл trust-wallet-mcp?

Use Trust Wallet through the `twak` MCP server (bundled with the Trust Wallet plugin, including in Grok Bot) - set it up, connect the user's Trust Wallet app (WalletConnect) or create a separate agent wallet, check balances, send, receive, swap, buy or sell crypto. Use whenever the user mentions Trust Wallet, their crypto wallet, balances, sending or swapping tokens, buying or selling crypto, or when a `twak` MCP tool is missing or fails with CREDENTIALS_MISSING, PASSWORD_MISSING or WALLET_NOT_BOUND.

Как установить скилл trust-wallet-mcp?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл trust-wallet-mcp запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить trust-wallet-mcp с