Run:
$ npm i
$ npm run start
Auction of 100 WAN.
-
The top 1 player is the winner, pays the auction price, return goods value.
-
The subsequent players shall be ordinary participants, and all auction gold shall be returned without loss.
-
The player wins when there is no higher bid for 30 blocks.
-
A cool down of 30 blocks after each round is completed.
-
At the beginning of the next round of betting, the income of the previous round will be settled automatically.
-
Revenue is recorded in the smart contract and can be withdrawn at any time.
Testnet: 0x79e7ee629603B47Ce8e0852F6e0Bcb7384f94184
Source code: https://github.com/wanswap/funny-auction-contracts