etherlink
Facilitates interaction with the Etherlink L2 blockchain, supporting mainnet and testnet operations.
Install
mkdir -p .claude/skills/etherlink && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/18251" && unzip -o skill.zip -d .claude/skills/etherlink && rm skill.zipInstalls to .claude/skills/etherlink
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Etherlink blockchain interaction — EVM-compatible L2 on Tezos. Supports mainnet and shadownet testnet via MCP server. Use for balance checks, transactions, smart contracts, token operations, and understanding Etherlink-specific EVM differences.Key capabilities
- →Get XTZ balance for an address
- →Send XTZ transactions
- →Deploy smart contracts
- →Call view functions on contracts
- →Transfer ERC20 tokens
- →Query event logs
How it works
This skill interacts with the Etherlink blockchain, an EVM-compatible L2 on Tezos, through an MCP server. It provides tools for both read and write operations on the chain.
Inputs & outputs
When to use etherlink
- →Check balance
- →Execute transactions
- →Deploy smart contracts
- →Query token balance
About this skill
Etherlink Skill
Interact with Etherlink, an EVM-compatible L2 built on Tezos.
Quick Start
1. MCP Server (if configured)
The Etherlink MCP server provides direct chain interaction tools. If available, use these tools:
Read Operations:
get_balance— Get XTZ balance for an addressget_block— Get block by number or hashget_transaction— Get transaction detailsget_transaction_receipt— Get transaction receiptcall_contract— Call a view functionget_logs— Query event logsget_token_balance— Get ERC20 token balanceget_token_info— Get ERC20 token metadata
Write Operations (require PRIVATE_KEY):
send_transaction— Send XTZtransfer_token— Transfer ERC20 tokensdeploy_contract— Deploy a contractwrite_contract— Call a state-changing function
Utility:
estimate_gas— Estimate gas for a transactionget_gas_price— Get current gas priceencode_function_data— Encode contract call datadecode_function_result— Decode contract return data
2. Select Network
Use network name or chain ID:
- Mainnet:
etherlinkor42793 - Testnet:
etherlink-shadownetor127823
Networks
| Network | Chain ID | RPC | Explorer |
|---|---|---|---|
| Etherlink Mainnet | 42793 (0xA729) | https://node.mainnet.etherlink.com | https://explorer.etherlink.com |
| Etherlink Shadownet | 127823 (0x1F34F) | https://node.shadownet.etherlink.com | https://shadownet.explorer.etherlink.com |
- Relay (Mainnet):
https://relay.mainnet.etherlink.com - Relay (Shadownet):
https://relay.shadownet.etherlink.com - Faucet (Shadownet): https://shadownet.faucet.etherlink.com
- Native Currency: XTZ (18 decimals)
- EVM Version: Osaka
- Wallet Derivation:
m/44'/60'/0'/0
Common Operations
Check Balance
Get balance for 0x... on etherlink
Send Transaction
Send 0.1 XTZ to 0x... on etherlink
Read Contract
Call balanceOf on contract 0x... for address 0x... on etherlink
Get Block Info
Get latest block on etherlink
Etherlink-Specific EVM Differences
Fee Structure
- EIP-1559 Supported: Uses
max_fee_per_gas - No Priority Fees:
max_priority_fee_per_gasis ignored — sequencer uses first-come-first-served ordering - Fee Components:
- Execution fee: Varies with network throughput (minimum 1 gwei)
- Inclusion fee: Covers data availability on Tezos L1
- Gas prices are typically very low (~$0.001 per ERC-20 transfer)
Block Hashes
Block hashes are computed differently on Etherlink. You cannot verify block hashes solely from the block header. This affects light client implementations and block hash verification tools.
Finality
- ~500ms for sequencer confirmation
- ~8 seconds for data posted to Tezos L1
- Full finality after Tezos confirmation
WebSockets
- Supported when running your own node with
--wsflag - Public RPC nodes don't expose WebSocket endpoints publicly
Smart Contract Compatibility
Most Solidity/EVM contracts work unchanged. Watch for:
- Contracts relying on
PREVRANDAO(may behave differently) - Contracts verifying block hashes
- Contracts that depend on priority fee mechanics
- Solidity versions up to and including 0.8.24
Best Practices
- Don't set priority fees — they're ignored
- Don't rely on block hashes for verification
- Account for bridge delays in UX (deposits ~10-15min, withdrawals ~2 weeks)
- Test on Shadownet first — it mirrors mainnet behavior
- Rate limit awareness — 1000 req/min on public RPC
Tezos L1 Bridge
Etherlink bridges to Tezos L1 for deposits/withdrawals.
- Deposits (Tezos → Etherlink): Initiated on Tezos L1, requires Tezos tooling, ~10-15 minutes
- Withdrawals (Etherlink → Tezos): Initiated on Etherlink (EVM tx), finalized on Tezos after challenge period, ~2 weeks (optimistic rollup)
Contract Deployment & Verification
Deploy with Foundry:
forge script script/Deploy.s.sol \
--rpc-url $RPC_URL \
--broadcast \
--verify \
--verifier blockscout \
--verifier-url $VERIFIER_URL
Verify existing contract:
forge verify-contract <ADDRESS> <CONTRACT_NAME> \
--chain-id $CHAIN_ID \
--verifier blockscout \
--verifier-url $VERIFIER_URL
Troubleshooting
"Unsupported network": Use correct network name (etherlink, etherlink-shadownet) or chain ID.
Rate limited: Public RPC has 1000 req/min limit. Back off and retry.
Transaction failed: Check balance, use legacy tx format if EIP-1559 causes issues, check for contract reverts.
Resources
Reference Files
See references/ for detailed docs:
references/networks.md— Full network config and MetaMask setupreferences/differences.md— Etherlink vs standard EVM differencesreferences/mcp-setup.md— MCP server installation and configurationreferences/endpoint-support.md— Supported JSON-RPC methods
When not to use it
- →When interacting with non-EVM compatible blockchains
- →When a private key is not available for write operations
- →When Etherlink-specific EVM differences are not accounted for
Limitations
- →Block hashes are computed differently on Etherlink
- →Public RPC nodes do not expose WebSocket endpoints publicly
- →Contracts relying on `PREVRANDAO` may behave differently
How it compares
This skill provides direct interaction with Etherlink's specific EVM implementation and fee structure, which differs from standard Ethereum EVM interactions.
Compared to similar skills
etherlink side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| etherlink (this skill) | 0 | 3mo | Review | Intermediate |
| fastapi-templates | 520 | 2mo | No flags | Intermediate |
| android-kotlin-development | 268 | 4mo | Review | Advanced |
| fastapi-pro | 79 | 3mo | No flags | Advanced |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
fastapi-templates
wshobson
Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.
android-kotlin-development
aj-geddes
Develop native Android apps with Kotlin. Covers MVVM with Jetpack, Compose for modern UI, Retrofit for API calls, Room for local storage, and navigation architecture.
fastapi-pro
sickn33
Build high-performance async APIs with FastAPI, SQLAlchemy 2.0, and Pydantic V2. Master microservices, WebSockets, and modern Python async patterns. Use PROACTIVELY for FastAPI development, async optimization, or API architecture.
telegram-bot-builder
davila7
Expert in building Telegram bots that solve real problems - from simple automation to complex AI-powered bots. Covers bot architecture, the Telegram Bot API, user experience, monetization strategies, and scaling bots to thousands of users. Use when: telegram bot, bot api, telegram automation, chat bot telegram, tg bot.
telegram-mini-app
davila7
Expert in building Telegram Mini Apps (TWA) - web apps that run inside Telegram with native-like experience. Covers the TON ecosystem, Telegram Web App API, payments, user authentication, and building viral mini apps that monetize. Use when: telegram mini app, TWA, telegram web app, TON app, mini app.
stripe-integration
wshobson
Implement Stripe payment processing for robust, PCI-compliant payment flows including checkout, subscriptions, and webhooks. Use when integrating Stripe payments, building subscription systems, or implementing secure checkout flows.