https://github.com/numtel/zk-medianizer
https://github.com/numtel/zk-medianizer
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/numtel/zk-medianizer
- Owner: numtel
- Created: 2023-12-03T00:57:06.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-22T09:46:41.000Z (about 2 years ago)
- Last Synced: 2025-06-09T06:50:39.429Z (11 months ago)
- Language: Solidity
- Size: 153 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# zk-medianizer

*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