Commit Graph

5 Commits

Author SHA1 Message Date
03422548a4 Add command to create an auction and add auction CLI tests (#83)
All checks were successful
Lint / lint (18.x) (push) Successful in 1m14s
Publish npm package to gitea / npm_publish (18.x) (release) Successful in 1m17s
Tests / cli_tests (18.x) (push) Successful in 7m42s
Part of [Service provider auctions](https://www.notion.so/Service-provider-auctions-a7b63697d818479493ec145ea6ea3c1c)

Examples:

```bash
# vickrey auction
laconic registry auction create --kind vickrey --commits-duration 60 --reveals-duration 60 --commit-fee 1000 --reveal-fee 1000 --minimum-bid 1000000
```

```bash
# provider auction
laconic registry auction create --kind provider --commits-duration 60 --reveals-duration 60 --commit-fee 1000 --reveal-fee 1000 --max-price 3000000 --num-providers 5

# Release provider auction funds
laconic registry auction release-funds --auction-id <auction-id>
```

Co-authored-by: IshaVenikar <ishavenikar7@gmail.com>
Reviewed-on: #83
Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
2024-09-25 13:57:55 +00:00
Michael Shaw
49c4c1f049 incomplete first pass of testing to get package.json updated on branch for publishing 2023-02-15 15:57:23 -05:00
11482ab5c8 Add commands for auction operations 2022-04-27 15:32:46 +05:30
97dbbf87c0 Implement commands for record operations 2022-04-25 15:18:12 +05:30
977d9a8ffa Setup subcommands with yargs 2022-04-25 15:18:12 +05:30