ethereum-wingman
由 jp4g 提供
Web & Frontend Development简介
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
Runs
npx create-eth@latestand selects Foundry and Base as the target chain - 2
Sets polling interval to 3000ms in scaffold.config.ts
- 3
Runs
yarn fork --network baseandcast rpc anvil_setIntervalMining 1to enable live state and block progression - 4
Writes staking contract with explicit liquidation incentives and reentrancy guard, then runs
yarn deploy - 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 或你在用的任意编程智能体里。