An English Auction is where a seller auctions off an asset with an initial price and a reserve price. Users will then begin bidding on the asset until the bidding period has ended or the reserve has been met. Upon completion, users will withdraw either their original deposits or their newly purchased assets depending on the outcome.
The English Auction application implements this idea in a decentralized manner without the need for a 3rd party and with strong settlement assurances. The application has been designed to utilize native assets and NFTs enabling users to auction off native assets / NFTs and place bids using native assets / NFTs.
More information can be found in the specification.
The project consists of a smart contract.
english-auction
├── auction-contract
│ ├── src/main.sw
│ └── tests/harness.rs
├── README.md
└── SPECIFICATION.md
TODO: The user interface does not currently exist.
In order to run the subsequent commands change into the following directory /path/to/english-auction/<here>
.
forc build --locked
Before running the tests the programs must be compiled with the command above.
cargo test --locked