Skip to content

devendra-official/Blockchain

Repository files navigation

Hardhat Configuration guide.

Note

run these below commands at .../Blockchain directry.

Installation of node modules.

npm i 

Caution

Make sure to change the private key in hardhat.config.js file at accounts:["REPLACE WITH PRIVATE KEY OF METAMASK ACCOUNT"] and the account should be any one from GANACHE only.

Compiling solidity contract.

npx hardhat compile

To deploy the UserManager contract run.

npx hardhat ignition deploy ignition/modules/UserManager.js

To deploy the ProductManager contract run.

npx hardhat ignition deploy ignition/modules/ProductManager.js

To Test Solidity Contract

npx hardhat test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published