Command Palette

Search for a command to run...

Назад к скиллам
скилл № 44391

wallet

This skill manages the coding agent's own onchain wallet on Monad mainnet and testnet via the Alchemy CLI Agent Wallet — the private key stays in Alchemy's…

БесплатноБез исполняемых скриптов
therealharpaljadejaот therealharpaljadeja★ 15 звёзд на GitHub

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

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

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

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

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

Agent wallet on Monad — Alchemy Agent Wallet

This skill is for the developer's coding agent signing onchain transactions on Monad — it is not a frontend wallet for end-users (for that, fetch wallet-integration/).

The agent uses an Alchemy Agent Wallet session: the private key lives inside a Privy embedded wallet on Alchemy's side, the agent only holds a session token, and the developer can revoke the session at any time from the Alchemy Dashboard.

⚠️ Critical rules — no exceptions

  • NEVER ask the user for a private key. The agent never sees a private key in this flow.
  • NEVER use --mode local for this skill. Local mode imports a raw private key file onto the developer's machine — that's exactly what Agent Wallet sessions are designed to avoid. If a workflow seems to require a raw key, stop and tell the user.
  • NEVER install the Alchemy CLI or run alchemy auth on the user's behalf. Both require user-driven browser flows. Surface the prompt and wait.
  • NEVER hardcode an Agent Wallet session token or API key into a committed file. The CLI keeps these in ~/.alchemy/.

Prereqs (hook-gated)

The monskills hook (hooks/check-alchemy-auth.sh) gates every alchemy … command until both prereqs are satisfied. If either is missing, surface the exact command and stop.

  1. CLI installed (v0.18.0 or newer) — ask the user to run:

    npm install -g @alchemy/cli@latest
    

    monskills requires @alchemy/cli v0.18.0+; the hook blocks alchemy commands on older versions. Check with alchemy --version.

  2. Signed in — ask the user to run:

    alchemy auth
    

    Browser OAuth flow. Only the user can complete it. After sign-in the CLI prompts to pick an Alchemy app; pick the app whose API key you want monskills to use for RPC.

    Headless / remote environments (no reachable browser): if the CLI is running somewhere a browser can't reach it — GitHub Codespaces, Gitpod, Replit, Google Cloud Shell, Coder workspaces, SSH sessions, or non-interactive/CI/piped sessions — do not ask the user to complete a browser login. Tell them to use the device authorization flow instead:

    alchemy auth login --device-code
    

    The CLI prints a short code and a verification link; the user opens the link in a browser on any device, checks the code matches their terminal, and approves. The --device-code flag works in every environment. Plain alchemy auth also switches to this flow automatically when it detects Codespaces, Gitpod, Replit, Google Cloud Shell, Coder, SSH, or a non-interactive session — so the flag isn't strictly required there. If auto-detection misses the environment, the browser login times out after two minutes and its error points to this same command. When in doubt in a remote/headless context, prefer --device-code.

Verify with:

alchemy auth status
alchemy doctor

Create an Agent Wallet session

Sessions are created in the Alchemy Dashboard, not from the CLI. The agent cannot create one autonomously — only the developer can.

  1. Ask the user to open https://dashboard.alchemy.com/products/agent-wallet/evm-wallet and create a new EVM Agent Wallet session.
  2. Once the session is approved, the user runs:
    alchemy wallet connect --mode session
    alchemy wallet use session
    
  3. Verify the session is the active EVM signer and confirm the address:
    alchemy wallet status --verify
    alchemy wallet address
    

alchemy wallet status is the source of truth. Never assume a session exists — always check.

Default to Monad

Set the default network so subsequent commands don't need -n on every call:

alchemy config set network monad-mainnet   # or monad-testnet

Confirm with alchemy evm network list --search monad. Override per-command with -n monad-mainnet or -n monad-testnet.

Fund the session address with MON before any state-changing call.

For Monad testnet here is how to get funds from faucet:

# Fund agent's wallet from faucet, since it is testnet, funds can be claimed from faucet.
FAUCET_RESPONSE=$(curl -s -X POST https://agents.devnads.com/v1/faucet \
  -H "Content-Type: application/json" \
  -d "{\"chainId\": 10143, \"address\": \"$AGENT_WALLET_ADDRESS\"}")

# Then check for balance

Monad mainnet: bridge / on-ramp via providers in tooling-and-infra/.

Onchain actions (sends + contract calls)

These work natively through the session signer — no factory dance required.

Send native MON

alchemy evm send <recipient> 0.01 -n monad-mainnet

Returns a smart wallet call ID. Once the user op confirms, the same alchemy evm status <id-or-hash> resolves to a transaction hash.

Call an existing contract

alchemy evm contract call <address> "transfer(address,uint256)" \
  --args "0xRecipie
Полный SKILL.md на GitHub

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

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

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

Вложенные файлы

  • SKILL.zh.md

FAQ

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

This skill manages the coding agent's own onchain wallet on Monad mainnet and testnet via the Alchemy CLI Agent Wallet — the private key stays in Alchemy's Privy enclave, the agent only holds a session token the developer can revoke from the Alchemy Dashboard, so it signs without ever touching a raw private key. Use when the agent itself needs to sign and broadcast a Monad transaction — sending native MON, calling an existing contract, or deploying a new contract (CREATE2 via CreateX); not for end-user frontend wallets (fetch wallet-integration/ for that). For example: "deploy my token contract to Monad testnet", "send 0.5 MON to 0xabc…", or "call mint() on my deployed NFT contract".

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

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

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

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

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

Сравнить wallet с