Skip to content

Einarmig/Auction-Solidity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧾 Auction Smart Contract

This repository contains a smart contract for a decentralized auction system written in Solidity. It was developed as the final project of Module 2 in the smart contracts course.

πŸ“ Overview

The contract manages a transparent and fair auction where multiple users can place bids on an item. It ensures fair competition, secure fund handling, and dynamic time management.

πŸ› οΈ Key Features

  • Automatic auction initialization upon deployment.
  • Bid reception with a required minimum increase of 5% over the current highest bid.
  • Automatic refunds (with a 2% fee) to non-winning bidders when the auction ends.
  • Partial refund claims for previous bids during the ongoing auction.
  • Automatic auction time extension if a valid bid is placed within the last 10 minutes.
  • Display of the current highest bidder and a full list of all bids.

βœ… Implemented Features

Feature Status
Constructor initializes the auction βœ…
Bidding function enforces +5% minimum increase βœ…
Winner and winning bid display βœ…
Retrieval of all submitted bids βœ…
Refunds to non-winners with 2% fee βœ…
Deposit tracking by address βœ…
Events for new bids and auction end βœ…
Partial refunds allowed during the auction βœ…
Auto-extension of auction time βœ…
Use of modifiers for time and access control βœ…
Deployed and verified on Sepolia testnet βœ…

πŸš€ Deployment Details

  • Network: Sepolia tesnet
  • Contract Address: 0xd4B2431cc892303F4f069C6Ab3303185Cec48a66
  • Verification: βœ… Code verified on Etherscan

About

Decentralized auction system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors