This smart contract is an implementation of an English auction for non-fungible tokens (NFTs) on the Ethereum blockchain. In an English auction, the seller sets a starting price, and buyers bid successively higher prices until no higher bid is offered, at which point the highest bidder wins the NFT.
- Seller of NFT deploys this contract.
- Auction lasts for specific time.
- Participants can bid by depositing ETH greater than the current highest bidder.
- All bidders can withdraw their bid if it is not the current highest bid.
- Highest bidder becomes the new owner of NFT.
- The seller receives the highest bid of ETH.
yarn hardhat
yarn hardhat compile
yarn hardhat node
yarn hardhat deploy