跳到正文
TakoAPI
返回技能列表

ethereum-wingman

由 jp4g 提供

Web & Frontend Development
1.6k下载量由 clawskills.sh 提供
1星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Ethereum development tutor and builder for Scaffold-ETH 2 projects.

描述

该技能的功能

An AI agent skill for building Ethereum projects with Scaffold-ETH 2. Covers smart contract development, DeFi protocol patterns, security pitfalls, and the SpeedRun Ethereum challenge curriculum. Always runs against a forked live network rather than an empty local chain.

Fork mode gives contracts access to real token balances, live protocols, and whale accounts, eliminating the gap between local test results and mainnet behavior.

何时使用

  • Scaffolding a new dApp project with fork mode configured from the start
  • Building a DEX or lending protocol against real Uniswap and Aave state
  • Working through SpeedRun Ethereum challenges with guided code examples
  • Catching reentrancy and oracle manipulation bugs before deployment
  • Deploying and browser-testing contracts on a local Base or Arbitrum fork

示例工作流

输入

User asks: Build a token staking dApp on Base

智能体
  1. 1

    Runs npx create-eth@latest and selects Foundry and Base as the target chain

  2. 2

    Sets polling interval to 3000ms in scaffold.config.ts

  3. 3

    Runs yarn fork --network base and cast rpc anvil_setIntervalMining 1 to enable live state and block progression

  4. 4

    Writes staking contract with explicit liquidation incentives and reentrancy guard, then runs yarn deploy

  5. 5

    Starts frontend with yarn start, navigates to localhost:3000, funds burner wallet via faucet, and verifies staking flow

输出

Staking dApp running at localhost:3000 connected to a forked Base mainnet with real USDC and WETH available

安装

clawhub install jp4g/ethereum-wingman

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接