Skip to content

ZeroSHA256Chain/smart_contract

Repository files navigation

Decentralized Auction

Install hardhat

https://hardhat.org/hardhat-runner/docs/getting-started

Then:

yarn

or

npm install .

Run tests

npx hardhat test

To deploying and interact with contract on localhost (rpc: http://127.0.0.1:8545/):

npx hardhat node
npx hardhat ignition deploy ./ignition/modules/Auction.js --network localhost

To deploying contract on testnet you need to provide API_KEY and PRIVATE_KET in .env or hardcode in hardhat.config.js and run:

npx hardhat ignition deploy ./ignition/modules/Auction.js --network polygon_amoy

About

Decentralized Auction Contract

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •