zk

package
v0.0.0-...-8013fef Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompileAllCircuits

func CompileAllCircuits(circuits map[string]common.CircuitEntry, buildDir string) error

func CompileCircuit

func CompileCircuit(circuitName string, c common.CircuitEntry, buildDir string) error

func LoadGnarkObjBinary

func LoadGnarkObjBinary(buf *bytes.Buffer, filepath string) error

func PerformAllTrustedSetup

func PerformAllTrustedSetup(circuits map[string]common.CircuitEntry, buildDir string) error

func PerformTrustedSetup

func PerformTrustedSetup(circuitName string, c common.CircuitEntry, buildDir string) error

func WriteGnarkObjBinary

func WriteGnarkObjBinary(obj GnarkSerializableObj, filepath string) error

Types

type GnarkSerializableObj

type GnarkSerializableObj interface {
	io.WriterTo
	io.ReaderFrom
}

Gnark objects have a serializer that we can access using the io.WriterTo and io.ReaderFrom interfaces. See: https://docs.gnark.consensys.net/HowTo/serialize

Jump to

Keyboard shortcuts

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