Problem Statement: An auction contract where workers come and bet for a task. One who bets lowest will get the work. With task submission, worker needs to submit a stake. If the worker doesn't submit the task in time, worker will be slashed.
- Node: < v12.0.0
- Clone the repository
- Get inside the folder:
cd auction/
- Install dependencies:
npm install
npm run compile
- Local
npm run local:deploy
- Ropsten
npm run local:deploy