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

https://github.com/aunyks/solidity-signature-verifiers

Some example Solidity contracts demonstrating on-chain verification of off-chain signatures.
https://github.com/aunyks/solidity-signature-verifiers

Last synced: 2 months ago
JSON representation

Some example Solidity contracts demonstrating on-chain verification of off-chain signatures.

Awesome Lists containing this project

README

        

# Signature Verifiers

Some example Solidity contracts demonstrating on-chain verification of off-chain signatures. One contract is for pure-Solidity verification, and the other uses OpenZeppelin's [`ECDSA`](https://docs.openzeppelin.com/contracts/2.x/api/cryptography#ECDSA) library.

Doing signature verification on-chain is tricky. These contracts and their associated unit tests document how they can safely be done.

_Be mindful of the license._

### LICENSE

Signature Verifiers
Copyright (C) 2021 Gerald Nash

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see .