Skip to content
This repository was archived by the owner on Nov 13, 2022. It is now read-only.

piotr-roslaniec/solana-riptide-2022

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

solana-riptide-2022

Verify ZKP in Solana programs

See slides here.

Overview

This repo contains the following sources:

./circom-circuits - ZKP circuits implemented with circom

./solana-verifier - Solana program to verify circom proofs

That also includes forked dependencies:

./ffjavascript - fork of ffjavascript; contains fixes for ./snarkjs

./getrandom - fork of getrandom; contains fixes for arkworks-rs, which is being used in ./solana-verifier

./snarkjs - fork of snarkjs; contains a Solana verifier template

Status

As of now, the project doesn't compile. The breaking issue is with making contributions in snarkjs for bls12-381. To reproduce, run cd circom-circuits && ./scripts/all.bash

Error:

[ERROR] snarkJS: Error: Curve not supported: 4002409555221667610661788685990436838824310417315709160196267947217350388461752218928110433526561144555515641069568

What was accomplished?

What is left do do?

  • Implement the rest of the verifier program using arkwork-rs stack
  • Finish the verifier template for snarkjs and update the CLI scripts, etc.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages