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.
Set .env
file with your account
and rpcUrlEndpoint
. For example:
account=0x4bee03c8fe18e4ba5329934c7d1c43183077946544f3eb57b3b6736210c98676
rpcUrlEndpoint=http://89.231.25.222:8545
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
npx hardhat --network i3MarketNetwork deploy
Nothing to compile
deploying "NonRepudiation" (tx: 0xc5893d949c2f0e15b9fdc81a614422767c6027992b92dc090d34ea8376c6a79f)...: deployed at 0x7B7C7c0c8952d1BDB7E4D90B1B7b7C48c13355D1 with 235574 gas
deploying "NonRepudiation" (tx: 0x6a3828f8fe232819dc40ca66f93930b3bd1619db31a67ec34b44446b3e7c8289)...: deployed at 0x8d407A1722633bDD1dcf221474be7a44C05d7c2F with 253928 gas