Skip to content

annasudol/nft-auction

 
 

Repository files navigation

NFT auction

The Project allows trading NFTs in English auctions. To call function placeBid user need to buy ERC20 0xDC18BB3Ac97071e6A39f37AdbDca12B95788D25F first.

erc20 contract goerli

0xDC18BB3Ac97071e6A39f37AdbDca12B95788D25F

[contract at goerli.etherscan.io] (https://goerli.etherscan.io/address/0xDC18BB3Ac97071e6A39f37AdbDca12B95788D25F#code)

erc721 contract goerli

0xdcad5e8DF4b5e32fC59ca4bEeb5E084e14eD5C18

[contract at goerli.etherscan.io] (https://goerli.etherscan.io/address/0xdcad5e8DF4b5e32fC59ca4bEeb5E084e14eD5C18#code

NFTAuction contract auction

0x7C84b856eCFce8bb4D711B96feaA59b2E13A7257

[contract at goerli.etherscan.io] (https://goerli.etherscan.io/address/0x7C84b856eCFce8bb4D711B96feaA59b2E13A7257#code)

##tasks
npx hardhat mintNFT --to [value] --tokenId [value]--network goerli
npx hardhat mint --to 0x80dD5aD6B8775c4E31C999cA278Ef4D035717872 --id 1--network goerli
npx hardhat listNFTOnAuction --minPrice [value] --tokenId [value] --numberOfDays [value] --MyNFT [value] --network goerli

Releases

No releases published

Packages

No packages published

Languages

  • Solidity 51.4%
  • TypeScript 48.4%
  • Shell 0.2%