Hi I am working on the auction app in block chain using solidity as smart contract in Ethereum. The requirements are
- The DAPP will ask for the auction in the public domain like for example selling an iPhone
- All the users will bid for the item
- The smart contract will find the winner based on the highest money and declare him as the winner.
I want to add another functionality by self destructing the auction after specified amount of time and no other auction will take place after that.
How can we do this in solidity?
Any help would be really appreciated.Thanks!