A smart contract for auction system fund raising for a good cause. There is a chair person who hosts the auction and he can also bid. Users have to register on their own.Each user can buy fixed number of tokens which he can then bid on the listed items. At the end of the auction, the winner is decided for each item by the host.
After the auction period ends the chairperson, checks the collection for each item and randomly selects a ticket from each item’s box to determine the winning bidder for that
item. The item is transferred to the winning bidder. Total money collected is the fundraised by the penny social auction.
- Number of bidders = 4
- Number of Items = 3
- (All 0 indexed)
- Go Remix Ethereum website.
- Upload the Auction.sol
- Compile with 0.4.17 version
- Deploy with JavaScript VM
- Open under the deployed contract.
- Interact with it as I have demonstrated in the attached video.Deployed Contract