Skip to content

Groth16 zkSNARK bellman proof verifier using cloudflare/bn256 Pairing

License

Notifications You must be signed in to change notification settings

arnaucube/go-bellman-verifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-bellman-verifier Go Report Card Build Status

Groth16 zkSNARK bellman proof verifier

Verify Groth16 proofs generated from bellman, using cloudflare/bn256 (used by go-ethereum) for the Pairing.

Usage

public, err := ParsePublicRaw(publicJson)
require.Nil(t, err)
proof, err := ParseProofRaw(proofJson)
require.Nil(t, err)
vk, err := ParseVkRaw(vkJson)
require.Nil(t, err)

v := Verify(vk, proof, public)
assert.True(t, v)

About

Groth16 zkSNARK bellman proof verifier using cloudflare/bn256 Pairing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages