bn254

command
v0.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

package main contains the trusted parameters for the bn254 curve as described in the doc.go file in the setup package (parent folder).

The parameters for the Prover and the Verifier are in the pk.bin and vk.bin files, respectively.

These files have been created using the script in the audit.go file. To audit the parameters you need to:

1) download the original source file `powersOfTau28_hez_final_18.ptau' from the snarkjs github page: https://github.com/iden3/snarkjs (direct file link: https://storage.googleapis.com/zkevm/ptau/powersOfTau28_hez_final_18.ptau)

2) Place the file in this directory

3) Run the audit.go main program with `go run .`

This will create the pk.audit and vs.audit files and test they match the pk.bin and vk.bin files.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL