Skip to content

drep-project/kzg-ceremony-verifier

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KZG Ceremony Verifier

Description

This is a tool for verifying the output of the Ethereum KZG Ceremony as well as transforming the output into a usable form for the various KZG libraries.

Installation

Clone the repository and navigate to its directory:

git clone git@github.com:ethereum/kzg-ceremony-verifier.git
cd kzg-ceremony-verifier

Build the project:

cargo build --release

Normal Usage

Run the executable from the target/release directory.

./target/release/kzg-ceremony-verifier

This will download the transcript from the sequencer, verify all the powers, check the contribution witnesses. If the above succeeds, it will save the ceremony output to ./output_setups/trusted_setup_#.json.

Advanced Usage

Command-Line Arguments

The executable can be customised by supplying CLI arguments.

./target/release/kzg-ceremony-verifier [OPTIONS]
--url

    Specifies the URL from which to download the transcript.
    Default: https://seq.ceremony.ethereum.org/info/current_state

--transcript-path

    Specifies the path to save the downloaded transcript.
    Default: transcript.json

--output-folder

    Specifies the folder to save the individual setups after verification.
    Default: ./output_setups

--ceremony-sizes

    Specifies the sizes of the ceremonies in the format 'ceremony1_g1_size,ceremony1_g2_size ceremony2_g1_size,ceremony2_g2_size ...'.
    Default: 4096,65 8192,65 16384,65 32768,65

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%