Skip to content
Agentmart
Submit a tool

evm-swiss-knife

Interact with EVM-compatible blockchains using Foundry's cast tool for querying balances, calling contracts, sending transactions, and blockchain exploration.

Skill by kukapay

IndexedMIT★ 37
Write a review

Chalk Labs

Need help deploying evm-swiss-knife?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/kukapay-evm-swiss-knife

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Interact with EVM-compatible blockchains using Foundry's cast tool for querying balances, calling contracts, sending transactions, and blockchain exploration. Use when needing to interact with Ethereum Virtual Machine networks via command-line, including reading contract state, sending funds, executing contract functions, or inspecting blockchain data.

Use cases: documents, data

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/evm-swiss-knife

What's inside

Skill name
evm-swiss-knife
Description
Interact with EVM-compatible blockchains using Foundry's cast tool for querying balances, calling contracts, sending transactions, and blockchain exploration. Use when needing to interact with Ethereum Virtual Machine networks via command-line, including reading contract state, sending funds, executing contract functions, or inspecting blockchain data.
License
MIT
Instructions
192 lines in SKILL.md · view on GitHub

Before installing

  • Instructions call the network

Files (1)

  • SKILL.md

SKILL.md (first lines)

# EVM Swiss Knife

This skill enables interaction with EVM-compatible blockchains through Foundry's `cast` command-line tool. It covers common blockchain operations like balance queries, contract calls, transaction sending, and network inspection.

## Installation

To use this skill, you need Foundry installed, which provides the `cast` command.

Follow the official installation guide: https://getfoundry.sh/introduction/installation

### Quick Install (Linux/Mac)

1. Install Foundryup:
   ```bash
   curl -L https://foundry.paradigm.xyz | bash
   ```

2. Source your shell configuration or start a new terminal:
   ```bash
   source ~/.bashrc  # or ~/.zshrc
   ```

3. Install Foundry:
   ```bash
   foundryup
   ```

4. Verify installation:
   ```bash
   cast --version
   ```

For other platforms or detailed instructions, see the full guide at https://getfoundry.sh/introduction/installation

## Prerequisites

- Foundry installed (`cast` command available)
- RPC endpoint configured (via `--rpc-url` or environment variables)
- Private key for transaction operations (if sending txs)

## RPC URL Selection

To interact with different EVM networks, you need reliable RPC endpoints. Use ChainList's API at https://chainlist.org/rpcs.json to get a comprehensive JSON list of RPC URLs for all supported chains.

### How to Select RPC URLs:

1. Fetch the RPC data:
   ```bash
   curl -s https://chainlist.org/rpcs.json | jq '.[] | select(.chainId == 1)'  # For Ethereum (chain ID 1)
   ```

2. Look for RPC URLs that are:
   - **Public and free**: No API keys required
   - **No or limited tracking**: Avoid URLs with "tracking": "yes"
   - **Fast and reliable**: Prefer URLs with low latency or high score
   - **Open source**: Prefer community-maintained endpoints

3. Popular choices (extracted from ChainList):
   - Ethereum (ID 1): https://ethereum-rpc.publicnode.com
   - BNB Smart Chain (ID 56): https://bsc-dataseed.binance.org
   - Base (ID 8453): https://mainnet.base.org
   - Polygon (ID 137): https://polygon-rpc.com

4. For production use, consider paid RPC services like Alchemy, Infura, or QuickNode for higher reliability and rate limits.

5. Always verify the chain ID matches your intended network to avoid connecting to wrong chains.

## Common Operations

### Query Account Balance

Get ETH balance of an address:
```bash
cast balance <address> --rpc-url <rpc_url>
```

Get ERC20 token balance:
```bash
cast call <token_contract> "balanceOf(address)(uint256)" <address> --rpc-url <rpc_url>
```

### Call Contract Functions (Read-Only)

Call a view/pure function:
```bash
cast call <contract_address> "<function_signature>" [args...] --rpc-url <rpc_url>
```

Example - get token total supply:
```bash
cast call 0xA0b86a33E6441e88C5F2712C3E9b74B6F3f5a8b8 "totalSupply()(uint256)" --rpc-url <rpc_url>
```

### Send Transactions

Send ETH:
```bash
cast send --private-key <pk> --rpc-url <rpc_url> <to_address> --value <amount_in_wei>
```

Call contract function (write):
```bash
cast send --private-key <pk> --rpc-url <rpc_url> <contract_address> "<function_signature>" [args...]
```

### Blockchain Inspection

Get latest block number:
```bash
cast block-number --rpc-url <rpc_url>
```

Get block details:
```bash
cast block <block_number> --rpc-url <rpc_url>
```

Get transaction details:
```bash

From kukapay/crypto-skills, MIT.

Signals

Stars
37
Forks
7
Open issues
0
Last commit (this folder)
Jan 22, 2026 (9 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from kukapay

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get evm-swiss-knife running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying evm-swiss-knife?

CallGet help
Cite this page

evm-swiss-knife skill. Agent Mart. https://agentmart.dev/skills/kukapay-evm-swiss-knife (last updated 2026-10-24)