eightfilms / kzigg

KZG polynomial commitments in Zig

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KZG Polynomial Commitments

An implementation of KZigG polynomial commitments in Zig, using blst as the backend via Zig's C interop.

Heavily based on c-kzg-4844.

Disclaimer: this repository is me learning how KZG and 4844 works underneath and is not meant for real world use.

Prerequisites

You need Zig installed and blst built to use as a static library.

This repo is built and tested on v0.13.0.

Test

zig build test -Doptimize=ReleaseSafe

Benchmark

zig build benchmark

About

KZG polynomial commitments in Zig

License:Apache License 2.0


Languages

Language:Zig 100.0%