← 返回 Skills 市场
ivangdavila

Ethereum

作者 Iván · GitHub ↗ · v1.0.0
linuxdarwinwin32 ✓ 安全检测通过
1407
总下载
2
收藏
7
当前安装
1
版本数
在 OpenClaw 中安装
/install ethereum
功能描述
Assist with Ethereum transactions, gas optimization, token approvals, and L2 bridges.
使用说明 (SKILL.md)

Nonce and Stuck Transactions

  • Every Ethereum account has a nonce that increments with each transaction — if tx with nonce 5 is pending, nonces 6+ are blocked until 5 confirms
  • To unstick: send a new tx with the SAME nonce and higher gas — this replaces the pending tx (even a 0 ETH self-transfer works)
  • MetaMask "Speed up" and "Cancel" buttons do exactly this — they resubmit with same nonce and higher priority fee
  • Nonce gaps cause permanent stuck state — if nonce 3 was never broadcast but 4 was, 4 will never confirm until 3 is sent

Gas (EIP-1559)

  • maxFeePerGas = max total you'll pay per gas unit. maxPriorityFeePerGas = tip to validator. baseFee = burned, set by protocol
  • Actual cost: min(baseFee + priorityFee, maxFee) × gasUsed — unused gas is refunded, but failed txs still consume gas
  • Gas limit is separate from gas price — setting limit too low causes "out of gas" revert, but you still pay for gas used up to that point
  • Check current base fee at etherscan.io/gastracker or via eth_gasPrice RPC — wallets often overestimate by 20-50%

Token Approvals (Critical Security)

  • ERC-20 approve() grants a contract permission to spend your tokens — many dApps request unlimited (type(uint256).max) approval
  • If that contract gets hacked, attacker can drain all approved tokens even years later — audit approvals at revoke.cash
  • Recommend users approve only the exact amount needed, or revoke after each use
  • Approvals persist forever until explicitly revoked — changing wallets doesn't help if the old address still has tokens

Failed Transactions

  • A reverted transaction is mined and consumes gas — you pay even though nothing happened
  • Common causes: slippage exceeded, deadline passed, insufficient token balance, contract paused
  • "Transaction failed" in explorer means it executed but reverted — completely different from "pending" (not yet mined)
  • Simulating transactions before sending (via Tenderly or wallet preview) catches most revert conditions

L2 Bridges and Withdrawals

  • Optimistic rollups (Optimism, Arbitrum, Base) have 7-day withdrawal period to mainnet — this is not a bug, it's the security model
  • ZK rollups (zkSync, Starknet) have faster finality but bridging back still takes 1-24 hours depending on liquidity
  • Third-party bridges (Hop, Across) offer faster exits but charge fees and have smart contract risk
  • Never bridge more than you can afford to wait 7 days for — or use a fast bridge and accept the fee

MEV Protection

  • Public mempool transactions can be frontrun or sandwiched — especially swaps on DEXs
  • Flashbots Protect RPC (protect.flashbots.net) hides transactions from public mempool until mined
  • Private transaction options: MEV Blocker, Flashbots Protect, or DEXs with native protection (CoW Swap)
  • Signs of sandwich attack: swap executed at worse price than quoted, with suspicious txs immediately before and after yours

Address Validation

  • Ethereum addresses are case-insensitive but the checksum (mixed case) catches typos — 0xABC... vs 0xabc... are the same address
  • ENS domains can expire — always verify current owner before sending to a .eth name
  • Contract addresses vs EOA: contracts can reject ETH transfers or behave unexpectedly — check on etherscan if address has code
  • Some tokens have multiple addresses (official + scam clones) — verify contract address on CoinGecko or project's official site
安全使用建议
This skill is a text-only advisor about Ethereum operations and appears internally consistent. Before installing: do not provide private keys or wallet mnemonics to any skill; test any procedural advice (nonce replacement, approvals, bridging) on small amounts first; verify third-party endpoints (etherscan, revoke.cash, Tenderly, Flashbots) you use are the official domains; understand that sending transactions through third-party RPC/relay services has privacy/trust implications. If the skill later adds code, install steps, or requests credentials, stop and re-evaluate because those would materially change the risk profile.
功能分析
Type: OpenClaw Skill Name: ethereum Version: 1.0.0 The skill bundle is benign. The `SKILL.md` file contains purely informational and educational content related to Ethereum transactions, gas, token approvals, and L2 bridges. It provides advice and points to legitimate external resources (e.g., etherscan.io, revoke.cash) for users to check, but does not instruct the AI agent to perform any high-risk actions such as executing commands, accessing sensitive files, making unauthorized network requests, or engaging in prompt injection to subvert its purpose. The `_meta.json` file contains standard metadata.
能力评估
Purpose & Capability
The SKILL.md content (nonces, EIP-1559 gas, token approvals, L2 bridging, MEV, address validation) directly matches the name and description. There are no unrelated required binaries, env vars, or config paths.
Instruction Scope
Instructions are purely advisory and reference reputable third-party services (etherscan, revoke.cash, Tenderly, Flashbots). They do not instruct the agent to read local files, environment variables, or send data to unexpected endpoints. Note: the guidance recommends using external RPC/relay services (e.g., protect.flashbots.net), which is expected for MEV protection but means transactions could be routed through those third parties—users should be aware of privacy/trust tradeoffs.
Install Mechanism
No install spec and no code files (instruction-only). Nothing is written to disk and no third-party packages are pulled.
Credentials
The skill requests no environment variables, credentials, or config paths; this is proportionate to an advisory skill about Ethereum usage.
Persistence & Privilege
always is false and the skill is user-invocable. The skill does not request permanent presence or access to other skills' configs.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install ethereum
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /ethereum 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release
元数据
Slug ethereum
版本 1.0.0
许可证
累计安装 7
当前安装数 7
历史版本数 1
常见问题

Ethereum 是什么?

Assist with Ethereum transactions, gas optimization, token approvals, and L2 bridges. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1407 次。

如何安装 Ethereum?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install ethereum」即可一键安装,无需额外配置。

Ethereum 是免费的吗?

是的,Ethereum 完全免费(开源免费),可自由下载、安装和使用。

Ethereum 支持哪些平台?

Ethereum 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(linux, darwin, win32)。

谁开发了 Ethereum?

由 Iván(@ivangdavila)开发并维护,当前版本 v1.0.0。

💬 留言讨论