Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Writes a Scaffold-ETH 2 frontend workflow covering local chain, fork demos, and static IPFS or ENS export.
50% 100%+50 ptsof test cases passed
Passed 22 of 22 test cases with the skill, and 11 of 22 without it.
When I open the root route of my static dApp on IPFS it loads fine, but navigating directly to subroutes like /debug results in 404 errors on IPFS gateways. What Next.js configuration option fixes this gateway resolution issue?
Instructs setting trailingSlash: true in next.config.ts.
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
Follow this workflow; do not treat a green build or successful upload as proof that the intended app shipped.
When the user wants Scaffold-ETH 2 or has not selected a stack for a conventional contract-plus-frontend dApp, use its generator:
npx [email protected] # Tested version; update deliberately
Use the generated Foundry/Next.js monorepo, wallet integration, contract hooks, and components. Respect an explicitly requested alternative stack.
yarn chain for isolated contracts, mocks, and unit tests.yarn fork --network <chain> when behavior depends on deployed protocols, tokens, balances, or other real chain state.chains.foundry, or chains.hardhat in the Hardhat flavor; chain ID 31337), not the upstream chain being copied. Switch to the real target chain only for a real deployment.A fork also grants powers the real chain does not. Fund demo identities from state that already exists rather than deploying a mock token:
cast rpc anvil_impersonateAccount <whale>
cast send <token> "transfer(address,uint256)" <demo-account> <amount> \
--from <whale> --unlocked
anvil_setBalance and anvil_setStorageAt are equivalent overrides when no suitable holder exists. Nothing here is broadcast; the fork is a local copy.
Anvil normally mines only when a transaction arrives, so between transactions the latest block and block.timestamp remain frozen; the next transaction advances time in one jump. This silently breaks live deadlines, expiry, and vesting displays even when vm.warp unit tests pass. For continuous behavior, enable interval mining:
cast rpc anvil_setIntervalMining 1
For a frozen live demo, enable interval mining. Mining a single block with evm_mine restamps block.timestamp once and it freezes again immediately; manual mining and evm_increaseTime are for controlled single-step tests, not a running demo. Add --block-time 1 to the fork script when the project should always run that way.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.