diff --git a/.gitignore b/.gitignore index 3520d3e..8e0dfad 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .idea/ +vouchers/ ceremony-client quil_voucher.hex \ No newline at end of file diff --git a/Makefile b/Makefile index 9081699..519f4fa 100644 --- a/Makefile +++ b/Makefile @@ -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 \ No newline at end of file diff --git a/README.md b/README.md index 1c7288b..499eae4 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ # ceremonyclient -KZG Ceremony client for Quilibrium. Run with `go run ./... ` or omit the filename to write to quil_voucher.hex. +KZG Ceremony client for Quilibrium. + +# Running + +Run with `go run ./... ` 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/`. \ No newline at end of file diff --git a/main.go b/main.go index ba835cb..ae89517 100644 --- a/main.go +++ b/main.go @@ -41,6 +41,7 @@ func WaitForSequencerToBeReady() { state = GetSequencerState() } + fmt.Println() fmt.Println("Sequencer is ready for contributions!") }