https://github.com/zhenfeizhang/pasta-solidity
A Solidity implementation of Halo2's Pasta curves
https://github.com/zhenfeizhang/pasta-solidity
curves smart-contracts zero-knowledge-proofs
Last synced: 9 months ago
JSON representation
A Solidity implementation of Halo2's Pasta curves
- Host: GitHub
- URL: https://github.com/zhenfeizhang/pasta-solidity
- Owner: zhenfeizhang
- Created: 2022-06-23T18:53:38.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-03-30T10:05:06.000Z (about 3 years ago)
- Last Synced: 2025-05-07T21:45:02.712Z (12 months ago)
- Topics: curves, smart-contracts, zero-knowledge-proofs
- Language: Rust
- Homepage:
- Size: 261 KB
- Stars: 49
- Watchers: 2
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pasta curves on solidity
Solidity implementation of Pasta curves, with test vectors from Arkworks.
## Test
- `nix-shell`
- `hivemind & pasta-test-all`
## Gas cost
- `on curve testing`: 22724
- `doubling`: 24812
- `addition`: 26155
- `projective scalar mul`: 389487
- `affine scalar mul`: 890704