/crypto:evm-contract-sourcefrom crypto
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.
Ships in crypto. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Fetches verified smart contract source code from block explorers (Etherscan, Polygonscan, etc.).
Run the script with address and optional chain:
${CLAUDE_PLUGIN_ROOT}/scripts/crypto-evm-contract-source.sh <address> [chain]
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| Chain | Aliases | Explorer |
|---|---|---|
| ethereum | eth, mainnet | Etherscan |
| polygon | matic | Polygonscan |
| arbitrum | arb | Arbiscan |
| optimism | op | Optimism Etherscan |
| base | - | Basescan |
| bsc | binance | BSCScan |
cast (Foundry) must be installedETHERSCAN_API_KEY for Ethereum (also used as fallback for other chains)POLYGONSCAN_API_KEY for PolygonARBISCAN_API_KEY for ArbitrumOPTIMISM_API_KEY for OptimismBASESCAN_API_KEY for BaseBSCSCAN_API_KEY for BSC# 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
For Solana program IDL, use the sol-program-idl skill instead.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub cheolwanpark/claude-plugins --plugin crypto10 skills in this plugin
/evm-address-infoUse this skill when the user asks to "check balance", "what's the balance of", "is this a contract or EOA", "get address info", or mentions checking wallet balance or account type on EVM chains (Ethereum, Polygon, Arbitrum, etc.). Requires an address and optional chain parameter./evm-block-infoUse this skill when the user asks "block info", "what's in block", "latest block", "get block details", or mentions viewing block data on EVM chains (Ethereum, Polygon, Arbitrum, etc.). Optional block number/tag and chain parameter./evm-gas-priceUse this skill when the user asks "gas price", "how much is gas", "current gas", "check gas fees", or mentions checking gas costs on EVM chains (Ethereum, Polygon, Arbitrum, etc.). Optional chain parameter.