Commit Graph
5 Commits
Author SHA1 Message Date
prathameshandIshaVenikar 03422548a4 Add command to create an auction and add auction CLI tests (#83)
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: cerc-io/laconic-registry-cli#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
nabarun 11482ab5c8 Add commands for auction operations 2022-04-27 15:32:46 +05:30
nabarun 97dbbf87c0 Implement commands for record operations 2022-04-25 15:18:12 +05:30
nabarun 977d9a8ffa Setup subcommands with yargs 2022-04-25 15:18:12 +05:30