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

https://github.com/numtel/zk-medianizer


https://github.com/numtel/zk-medianizer

Last synced: 7 months ago
JSON representation

Awesome Lists containing this project

README

          

# zk-medianizer

![zk-medianizer concept art](docs/banner.jpg)

*Name inspired by [this post about a zk median scheme lost to time](https://ethresear.ch/t/towards-more-secure-twap-oracles-introducing-the-zk-median-zero-knowledge-proof-scheme-for-defi/14891)*

This repository includes median verification functions in [Javascript](verifyMedian.js), [Solidity](src/Median2.sol), and [Circom](circuits/median.circom).

## Installation

This is a Foundry-based repository. Import this library into your Foundry project using:

```
forge install numtel/zk-medianizer
```

## License

MIT