Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pcaversaccio/p256-verifier-vyper
P256 (a.k.a. secp256r1 elliptic curve) signature verification 🐍Vyper contract.
https://github.com/pcaversaccio/p256-verifier-vyper
ecdsa p256 secp256r1 vyper
Last synced: 21 days ago
JSON representation
P256 (a.k.a. secp256r1 elliptic curve) signature verification 🐍Vyper contract.
- Host: GitHub
- URL: https://github.com/pcaversaccio/p256-verifier-vyper
- Owner: pcaversaccio
- License: agpl-3.0
- Created: 2023-10-14T10:08:37.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-03T10:01:40.000Z (about 1 month ago)
- Last Synced: 2024-10-04T13:31:21.637Z (about 1 month ago)
- Topics: ecdsa, p256, secp256r1, vyper
- Language: Vyper
- Homepage: https://github.com/daimo-eth/p256-verifier
- Size: 172 KB
- Stars: 19
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `P256Verifier` 🐍Vyper Contract
[![🕵️♂️ Test smart contracts](https://github.com/pcaversaccio/p256-verifier-vyper/actions/workflows/test.yml/badge.svg)](https://github.com/pcaversaccio/p256-verifier-vyper/actions/workflows/test.yml)
[![License: AGPL-3.0-only](https://img.shields.io/badge/License-AGPL--3.0--only-blue)](https://www.gnu.org/licenses/agpl-3.0)> [!TIP]
> A fully optimised and thoroughly tested `P256` verifier using the latest Vyper version `0.4.0` is implemented in 🐍 snekmate: https://github.com/pcaversaccio/snekmate/pull/243.`P256` (a.k.a. `secp256r1` elliptic curve) signature verification [🐍Vyper contract](./src/P256Verifier.vy). These functions can be used to verify a `P256` signature. The implementation is inspired by [dcposch](https://github.com/dcposch)'s and [nalinbhardwaj](https://github.com/nalinbhardwaj)'s implementation [here](https://github.com/daimo-eth/p256-verifier/blob/master/src/P256Verifier.sol). Also, for more technical details, please refer to [RIP-7212](https://github.com/ethereum/RIPs/blob/master/RIPS/rip-7212.md).
> [!WARNING]
> This is **experimental software** and is provided on an "as is" and "as available" basis. We **do not give any warranties** and **will not be liable for any losses** incurred through any use of this code base.## Deployments
- Sepolia: [`0xD99D0f622506C2521cceb80B78CAeBE1798C7Ed5`](https://sepolia.etherscan.io/address/0xD99D0f622506C2521cceb80B78CAeBE1798C7Ed5)
- Holešky: [`0xD99D0f622506C2521cceb80B78CAeBE1798C7Ed5`](https://holesky.etherscan.io/address/0xD99D0f622506C2521cceb80B78CAeBE1798C7Ed5)## Further References
- Daimo's GitHub Repository: [daimo-eth/p256-verifier](https://github.com/daimo-eth/p256-verifier)
- Daimo's Blog: [blog/p256verifier](https://daimo.com/blog/p256verifier)
- Daimo's Website: [p256.eth.limo](https://p256.eth.limo)
- Daimo's `P256Verifier` Deployment: [`0xc2b78104907F722DABAc4C69f826a522B2754De4`](https://etherscan.io/address/0xc2b78104907F722DABAc4C69f826a522B2754De4)