This project contains the BestBid contracts. The DaiToken contract is a simple ERC20 token to be used on the platform. DepositsVault contract is used as a vault to store DaiToken's from the user, and transfer them when the auction ends. The NFTMarketplace is a contract to create NFT, and make sales on the platform. This project contains good test coverage.
This project require Node.js
.
npm install
npx hardhat clean
npx hardhat compile
npx hardhat test
npx hardhat run scripts/deploy.js
Obs.: The arguments.js depend on the constructor of the contract.
npx hardhat verify
--contract contracts/DepositsVault.sol:DepositsVault
--network bsc
--constructor-args ./arguments.js
--show-stack-traces
<contract_address>
npx hardhat coverage --testfiles "test/*.js"
npx hardhat accounts
npx hardhat node
npx hardhat help