Add docs and expose vouchers from container with make participate

This commit is contained in:
Ryan Sears 2023-04-17 01:32:08 -04:00
parent a3dfb69ebf
commit c0e9e12a27
No known key found for this signature in database
GPG Key ID: F5926B7786A65BD6
4 changed files with 11 additions and 3 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
.idea/
vouchers/
ceremony-client
quil_voucher.hex

View File

@ -6,8 +6,8 @@ build-docker:
bash:
docker run --rm -it $(IMAGE_TAG) bash
participate:
docker run --rm -it $(IMAGE_TAG) ./ceremony-client "quill-voucher-$(shell date +'%y.%m.%d-%H:%M:%S')"
participate: build-docker
docker run --rm -it -v $(PWD)/vouchers:/vouchers $(IMAGE_TAG) ./ceremony-client "/vouchers/quill-voucher-$(shell date +'%m.%d.%y-%H:%M:%S').hex"
dev:
docker run --rm -it -v $(PWD):$(PWD) --workdir $(PWD) $(IMAGE_TAG) bash

View File

@ -1,3 +1,9 @@
# ceremonyclient
KZG Ceremony client for Quilibrium. Run with `go run ./... <voucher_filename>` or omit the filename to write to quil_voucher.hex.
KZG Ceremony client for Quilibrium.
# Running
Run with `go run ./... <voucher_filename>` or omit the filename to write to quil_voucher.hex.
If you have docker installed you can participate in the ceremony by simply running `make participate`. Your voucher will be written to `vouchers/`.

View File

@ -41,6 +41,7 @@ func WaitForSequencerToBeReady() {
state = GetSequencerState()
}
fmt.Println()
fmt.Println("Sequencer is ready for contributions!")
}