hardhat#1

jeongwon·2023년 5월 16일
0

시작하기
npm init
npm install --save-dev hardhat
npm install --save -dev @nomicfoundation/hardhat-toolbox
npx hardhat
// Create an empty ~~~ 선택
mkdir contracts
cd contracts
// contracts 안에서 코딩
npx hardhat compile

npx hardhat node // 오른쪽에서 먼저
npx hardhat run --network localhost scripts/deploy.js
// goerli에 배포하기
npx hardhat run --network goerli scripts/deploy.js

npx hardhat verify --network goerli CONTRACT ADDRESS

profile
jeongwon

0개의 댓글