Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Plans and deploys Scaffold-ETH 2 contracts to a live network, with verification and fork rehearsals.
64% 95%+32 ptsof test cases passed
Passed 21 of 22 test cases with the skill, and 14 of 22 without it.
What audit verification step should be performed immediately after writing smart contracts in Phase 1 before starting frontend integration?
Recommends fetching ethskills.com/audit/SKILL.md to perform a contract audit check
This test ran on v1. v2 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Going live is three moves, never one: contracts local, then contracts live with the frontend still on localhost, then the frontend public. The middle move is the one that gets skipped and the one that catches everything — real chain, real gas, real decimals, a real wallet — while the UI is still yours alone to edit in seconds.
Name a go/no-go condition at each boundary, not just the commands. Three of them:
yarn generate creates one (Foundry: an encrypted keystore in ~/.foundry/keystores; Hardhat: an encrypted key in packages/hardhat/.env), yarn account prints its address and its balance on each chain, and it needs real ETH on the target chain before the deploy, not after it fails.A runbook that names the commands but not the conditions will keep going after something has already gone wrong.
yarn verify --network base (or your target chain) belongs immediately after yarn deploy --network base, not in a launch checklist weeks out. Until it runs, users and integrators are looking at opaque bytecode, and you are debugging a live contract without source on the explorer.
Nobody has to go and get a block explorer API key first. packages/foundry/.env.example already carries a working ETHERSCAN_API_KEY and postinstall copies it to .env, so yarn verify works on a fresh checkout. So a launch plan never lists "obtain an explorer key" among its steps, and never hands anyone an env template with a blank ETHERSCAN_API_KEY= to fill in: the value is already there, and a step that waits on that key waits for nothing. Swapping in your own is optional housekeeping afterwards, not a launch dependency. One real constraint: yarn verify replays broadcast/run-latest.json, so run it from the checkout that did the deploy.
Deployed bytecode cannot be edited, and the contract is a public API — a guard added in the frontend binds nobody, because direct calls, integrators and other frontends reach the same function. Shipping the UI clamp to buy hours is fine; calling it the fix is not.
The fix is the whole loop, in order: reproduce locally, correct the source, add the regression test that fails without the correction, redeploy (or upgrade in place, if it is behind a proxy), repoint the frontend if the address moved, and handle the state and users already there — migration or comms, your call. The loop is the same whether the bug surfaces before launch or with the app already public.
yarn chain — yarn fork --network base gives you Uniswap, USDC, Aave and funded whales already deployed, so you write no mocks of things that exist. Two tokens, and that is the whole rule: yarn binds the first token after the script name to $0, whatever it looks like, so the script's $1 is only set if you pass something before the value. yarn fork base and yarn fork --network=base both leave $1 empty and silently fork Ethereum mainnet; yarn fork --network base, yarn fork -n base and yarn fork -- base all work. In the hardhat flavor yarn fork takes no network argument (passing one errors) and always forks mainnet — change forking.url in hardhat.config.ts to fork anything else. Either way the fork answers chain id 31337, so the chain id never tells you what you forked: check for state only the target chain has, such as code at one of its token addresses.scaffold.config.ts is committed. An RPC or API key pasted into rpcOverrides or alchemyApiKey is a published key; read it from process.env and keep the value in .env.local. wallets/SKILL.md covers the rest of key handling.scaffold.config.ts targetNetworks still names the local chain after the contracts are live, and a frontend built before that switch reads a chain nobody is on. Change it in the same step that repoints the frontend at the deployed addresses, and not before — during fork work it belongs on the local chain (chains.foundry, or chains.hardhat in the Hardhat flavor), since the fork answers 31337 whatever it forked (frontend-playbook has the detail).burnerWalletMode in scaffold.config.ts defaults to "localNetworksOnly". On a live chain "allNetworks" gives users a key stored in localStorage; keep the default for production.deployedContracts.ts unless deploying was the ask.Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.