跳到正文
TakoAPI
返回技能列表

cast

由 tezatezaz 提供

CLI Utilities
1.0k下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Skill for managing EVM wallets, transactions, and network helpers via cast; covers onboarding, checks.

描述

该技能的功能

Manages EVM wallets and transactions through Foundry's cast CLI. Covers wallet creation and key import, balance checks, sending native coins and ERC-20 tokens, and transaction verification. Onboarding runs step by step, storing an encrypted keystore locally for agent use.

Handles the full wallet lifecycle in a terminal without a browser extension or GUI wallet, keeping keys in an encrypted local keystore the agent can use directly.

何时使用

  • Creating a new EVM wallet or importing an existing mnemonic phrase
  • Checking native coin or token balances on a chosen network
  • Sending ETH or ERC-20 tokens to another address
  • Looking up a transaction receipt to confirm a send completed
  • Switching the active network and RPC endpoint

示例工作流

输入

User asks: Send 0.05 ETH to 0x742d35Cc6634C0532925a3b8D4C9e2e3f1b2a4d5

智能体
  1. 1

    Runs check_wallet.sh to confirm a keystore and address exist

  2. 2

    Runs show_network.sh and queries cast balance to display current balance and network

  3. 3

    Executes cast send with the keystore, recipient address, and --value 0.05ether

  4. 4

    Fetches the receipt with cast receipt to verify status and gas used

  5. 5

    Appends the tx hash and a one-line description to logs/tx_mentions.log

输出

Transaction confirmed: status 1, gas used displayed, tx hash recorded in the workspace log

安装

clawhub install tezatezaz/cast

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接