- npm install --save-dev hardhat
- npx hardhat init
-
npx hardhat ignition deploy ./ignition/modules/Lock.ts --network ganache
-
npx hardhat ignition deploy ./ignition/modules/BoboErc20.ts --network bobo
-
如果有改动二次构建的话,要么删文件夹,要么
npx hardhat ignition deploy ignition/modules/Fcm.ts --network bsc --verify --deployment-id second-deploy
Ï
- REPORT_GAS=true npx hardhat test
- npx hardhat node
0x4F944EbCeb893c28564967c113aA8c9C3F69fF36
-
在线的脚手架replit 选择nextjs
-
本地nextjs脚手架
- yarn create next-app --typescript
-
需要看 metamask api