{"repo":"AmbireTech/signature-validator","free":true,"listed":false,"github":"https://github.com/AmbireTech/signature-validator","clone":"git clone https://github.com/AmbireTech/signature-validator.git","description":"TypeScript library that supports validation of any type of signature: account abstraction (ERC-1271, ERC-6492), standard signatures, ERC-712","language":"Solidity","stars":68,"topics":["eip1271","ethereum","ethereum-signer","ethers","ethersjs","evm","signature-validation","eip712","signtypeddata","erc1271"],"license":null,"category":"blockchain-web3","readme_excerpt":"Signature Validator library As signatures can be daunting at times, this is a library aiming to implement universal signature verification, supporting: - Standard message verification ( eth sign ) - EIP-712 Typed data verification ( eth signTypedData v ) - ERC-1271 Smart contract on-chain verification ( isValidSignature ) - ERC-6492: Signature verification for pre-deploy counterfactual contracts Usage --- Simple eth sign verification For more examples, you can check the /tests folder viem support The provider property can also be a viem PublicClient , as shown in the tests ( testConfig.js ). On-chain usage For on-chain usage, we've deployed a singleton here: https://etherscan.io/address/0x7dd271fa79df3a5feb99f73bebfa4395b2e4f4be#code And it can be deployed at the same address on every othe EVM network thanks to EIP-2470. If you wish to deploy it yourself, just use the singleton factory (use the target network's explorer) and use the bytecode resulted from compiling UniversalSigValidator from EIP-6492 with Solidity 0.8.28 and salt 0x0 . Please note that onchain use cases are rare, but they do exist. For example, if you have a DEX that stores the user's orders in the form of signed messages that can be applied on-chain by anyone at any time, you may reason that sometimes an account that isn't deployed yet might want to submit such an order. Porting the library to other languages (eg Golang, Rust) Porting can be done very easily because the library is now essentially just a sing","default_branch":null,"files":null,"tree":[],"storefront":"/r/AmbireTech","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/AmbireTech/signature-validator/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}