Skip to content

Repository files navigation

ton-zk-verifier

This is the first zk verifier for TON blockchain.

How to build

npm install
npm run build

How to run test

npm run test

solidityParser.js is a parser for Verifier.sol code generated by snarkjs exportVerifer command. This parser will convert this solidity code to func contract that can easily be tested.

Important notes

This is only working on testnet now. It is not working on mainnet until the next update of TON blockchain and BLS12-381 opcodes are added to the mainnet.

About

Simple Circom circuit and a parser to func with Groth16 and snarkjs

Topics

Resources

Stars

14 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages