NFT-Marketplace built with Solidity and tested with Hardhat framework
Basic NFT Marketplace which enables NFT owners to list an ERC721 NFT for sales by creating new auctions. The creator of the auction must specify in which currency (ERC20 token) he wants buyers to place new bids on his auction.
Buyers can bid on available auctions. Their tokens will then be locked on the Marketplace contract. When the auction period is over, the winner can claim his reward (the NFT). This will also trigger the transfer of the money locked in the marketplace contract into the wallet of the creator of the auction.
When an auction is created for an NFT, the ownership of this NFT will be transfered from the creator of the auction to the Marketplace wallet. In case an auction ends without any new bid, the creator of the auction can be refunded. If an auction is over but the winner hasn't claimed his NFT yet, the creator of the auction can claim for his money. The payment tokens will then be transfered to the creator of the auction and the NFT will be sent to the winner of the auction.
Go back
|