Back to list
cheolwanpark

evm-contract-source

by cheolwanpark

A marketplace of curated Claude Code plugins for personal use

2🍴 0📅 Jan 15, 2026

SKILL.md


name: evm-contract-source description: Use this skill when the user asks to "get contract source code", "show verified contract", "fetch source from etherscan", "view smart contract code", or mentions viewing verified source code on EVM chains (Ethereum, Polygon, Arbitrum, etc.). Requires a contract address and optional chain parameter. allowed-tools: Bash

EVM Contract Source Fetcher

Fetches verified smart contract source code from block explorers (Etherscan, Polygonscan, etc.).

Usage

Run the script with address and optional chain:

${CLAUDE_PLUGIN_ROOT}/scripts/crypto-evm-contract-source.sh <address> [chain]

Arguments

  • address (required): Contract address in hex format (0x + 40 hex characters). ENS names are NOT supported.
  • chain (optional): Chain name - ethereum (default), polygon, arbitrum, optimism, base, bsc

Supported Chains

ChainAliasesExplorer
ethereumeth, mainnetEtherscan
polygonmaticPolygonscan
arbitrumarbArbiscan
optimismopOptimism Etherscan
base-Basescan
bscbinanceBSCScan

Requirements

  • cast (Foundry) must be installed
  • API key must be set for the target chain:
    • ETHERSCAN_API_KEY for Ethereum (also used as fallback for other chains)
    • POLYGONSCAN_API_KEY for Polygon
    • ARBISCAN_API_KEY for Arbitrum
    • OPTIMISM_API_KEY for Optimism
    • BASESCAN_API_KEY for Base
    • BSCSCAN_API_KEY for BSC

Examples

# Get WETH source on Ethereum
${CLAUDE_PLUGIN_ROOT}/scripts/crypto-evm-contract-source.sh 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2

# Get QuickSwap Router source on Polygon
${CLAUDE_PLUGIN_ROOT}/scripts/crypto-evm-contract-source.sh 0xa5E0829CaCEd8fFDD4De3c43696c57F7D7A678ff polygon

Note

For Solana program IDL, use the sol-program-idl skill instead.

Score

Total Score

40/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon