# Cast

> EVM crypto operations via Foundry cast CLI. Check balances, send ETH/tokens, call contracts. Used by the agent to pay for services like prepaid cards.

- Skill: `layr-labs/cast` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add layr-labs/cast`
- Raw SKILL.md: https://api.skillmd.com/api/skills/layr-labs/cast/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: layr-labs (https://skillmd.com/u/layr-labs)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/layr-labs/cast

---


# Cast Skill

Provides blockchain operations via Foundry's `cast` CLI.

## Available Tools

- `eth_balance` - Check ETH balance of any address
- `send_eth` - Send ETH to an address
- `erc20_balance` - Check ERC-20 token balance
- `gas_price` - Get current gas price
- `chain_id` - Get current chain ID
- `block_number` - Get latest block number
- `get_wallet_address` - Get the agent's wallet address

## Requirements

- Foundry must be installed (`cast` CLI available in PATH)
- `PRIVATE_KEY` environment variable set for sending transactions

