alexrmacleod / auction

decentralized auction

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

auction

Smart Contract for a decentralized Auction similar to an eBay alternative.

The Auction has an owner (the person who sells a good or service), a start and an end date.

The owner can cancel the auction if there is an emergency or can finalize the auction after its end time.

Users are incentivized to bid the maximum they're willing to pay, but they are not bound to that full amount, but rather to the previous highest bid plus an increment. The contract will automatically bid up to a given amount.

The highestBindingBid is the selling price and the highestBidder the person who won the auction.

After the auction ends the owner gets the highestBindingBid and everybody else withdraws their own amount.

About

decentralized auction


Languages

Language:Solidity 100.0%