https://github.com/zerosha256chain/smart_contract
Decentralized Auction Contract
https://github.com/zerosha256chain/smart_contract
Last synced: 4 months ago
JSON representation
Decentralized Auction Contract
- Host: GitHub
- URL: https://github.com/zerosha256chain/smart_contract
- Owner: ZeroSHA256Chain
- License: apache-2.0
- Created: 2025-02-07T19:30:21.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-03-02T08:16:15.000Z (7 months ago)
- Last Synced: 2025-03-20T16:44:33.819Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 156 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Decentralized Auction
Install hardhat
https://hardhat.org/hardhat-runner/docs/getting-started
Then:
```shell
yarn
```
or
```shell
npm install .
```Run tests
```shell
npx hardhat test
```
To deploying and interact with contract on localhost (rpc: http://127.0.0.1:8545/):
```shell
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:
```shell
npx hardhat ignition deploy ./ignition/modules/Auction.js --network polygon_amoy
```