An open API service indexing awesome lists of open source software.

https://github.com/tekkac/cairo-alt_bn128

bn254 pairing library for Cairo Zero
https://github.com/tekkac/cairo-alt_bn128

bn254 cairo-lang elliptic-curve-cryptography pairing-cryptography starknet

Last synced: about 1 month ago
JSON representation

bn254 pairing library for Cairo Zero

Awesome Lists containing this project

README

        

# Cairo implementation of alt_bn128
## What is alt_bn128?
alt_bn128 is a pairing-friendly elliptic curve that can be used to verify computations done by snarks.

We implement the pairing function based on the code from [this repository.](https://github.com/ethereum/py_pairing/)

## How to run?
Make sure you are inside a Cairo virtual environment
```
make
```

## TODO
Hint verifications for pairing-related functions on FQ12