This project uses Hardhat for Ethereum smart contract development, testing, and deployment.
Navigate to the project directory and install the required dependencies:
npm installTo compile the smart contracts:
npx hardhat compileTo run the test suite:
npx hardhat testTo start a local Ethereum node for development:
npx hardhat nodeThis will start a local blockchain instance. You can deploy contracts to this network and interact with them.
To deploy contracts to the local Hardhat node (in a separate terminal):
npx hardhat run scripts/deploy.js --network localhostNote: If you use Hardhat Ignition for deployment, refer to the Ignition documentation and your
ignition/modulesfolder for deployment scripts.
You can use Hardhat tasks, scripts, or the Hardhat console:
npx hardhat console --network localhost