Skip to content

Latest commit

 

History

History
32 lines (27 loc) · 821 Bytes

README.md

File metadata and controls

32 lines (27 loc) · 821 Bytes

Basic Sample Hardhat Project

This project demonstrates a basic Hardhat use case. It comes with a sample contract, a test for that contract, a sample script that deploys that contract, and an example of a task implementation, which simply lists the available accounts.

Try running some of the following tasks:

npx hardhat accounts
npx hardhat compile
npx hardhat clean
npx hardhat test
npx hardhat node
node scripts/sample-script.js
npx hardhat help

First you need to install all dependancies :

npm install

You can launch the project locally by :

npx hardhat node
npx hardhat run scripts/Deploy.js --network localhost

Then change : walletAddress from App.js by the contract address in your terminal cmd.

Now Open the project in your localhost :

npm start