hackquest logo
  • 学习
  • 课程探索
  • 实战
  • 探索黑客松
  • 往期项目
  • 社区
  • 论坛
  • 全球活动
  • 我的社区
  • 共学营
  • 组织中心
  • 更多
    • 词汇表
    • 博客
    • 水龙头
    • 工作机会
    • 媒体工具包
    • 创始人
hackquest logo

Limited Time Auction

Auctions that end automatically after a set time.

技术栈

Solidity

描述

# Limited Time Auction

## Description

Limited Time Auction is a smart contract written in Solidity that enables a time-based auction where users can place bids. The highest bidder wins once the auction ends, and the seller receives the highest bid amount automatically.

## Features

- Automated Closing: The auction automatically ends after a predefined time.

- Highest Bid Tracking: Keeps track of the highest bidder and their bid.

- Bid Withdrawal: Outbid users can withdraw their funds.

- Secure Transactions: Ensures the highest bid is sent to the seller securely.

## Deployment Details

- Deployed Address: 0x74EBf615acd688d9EaB2f65004654bE441e9C039

- Blockchain Network: Edu Chain

- Compiler Version: Solidity 0.8.0

## Usage

1. Start Auction: The seller calls startAuction() to initialize the auction.

2. Place Bid: Participants send ETH via bid() function.

3. Withdraw Previous Bid: Users can call withdraw() if they are outbid.

4. Close Auction: Once the time is up, closeAuction() finalizes the auction and transfers funds to the seller.

本次黑客松进展

70

融资状态

0
队长
AAPRA SHARMA PCE23CS023
项目链接
赛道
Other