整理了一下大家在做 Road to Web3 问过的问题,会持续更新。

👉 官方教程 https://docs.alchemy.com/docs/welcome-to-the-road-to-web3

👉 Greta 写的小白教程 https://twitter.com/greta0086

👉 我的推特 https://twitter.com/stevenkin

重要信息

环境相关

Windows 的同学看过来!建议不要用 cmd,用 PowerShell

hardhat 不是内部或外部命令 / npx hardhat → Error HH12

npx hardhat 时卡住

部署合约时出现找不到网络 “Error HH100: Network goerli doesn’t exists”

Cannot find module ‘@nomiclabs/hardhat-waffle’

Cannot find module ‘@nomicfoundation/hardhat-toolbox’

部署合约时出现 Invalid account #0

npx hardhat 建立不到项目

npm init -y 之后,看到 “Error” 不用慌,不是错误