Signature Verification Python package
The Verify Crypto Signature package is a Python library for verifying and working with cryptographic signatures from various blockchain networks. It currently supports EVM (Ethereum Virtual Machine) and Solana blockchain signatures.
Installation
pip install verify-crypto-signatureFeatures
Verify message signatures from EVM and Solana addresses
Sign messages using private keys
Recover wallet addresses from signatures (EVM only)
Validate EVM and Solana addresses
EVM Signature Verification
Verifying an EVM Signature
from verify_crypto_signature.evm import VerifyEVM
# Verify if a message was signed by a specific address
wallet_address = "0x..." # Example address
message = "Hello, world!"
signature = "0x..." # Signature obtained from the wallet
# Verify the signature
is_valid = VerifyEVM.verify_signature(wallet_address, message, signature)
if is_valid:
print("Signature is valid")
else:
print("Signature is invalid")Signing a Message with EVM
Recovering an Address from an EVM Signature
Solana Signature Verification
Verifying a Solana Signature
Signing a Message with Solana
Integration with Walver.io
The Verify Crypto Signature package can be used together with Walver.io for enhanced crypto verification workflows. This package enables:
Secure verification of user wallet ownership
Seamless integration with your authentication systems
Multi-chain support covering both EVM and Solana ecosystems
Signature creation for both EVM and Solana
Dependencies
The package requires the following key dependencies:
eth_account
eth_utils
eth_keys
solders
These are automatically installed when you install the package using pip.
Source Code
The source code for this package is available on GitHub: https://github.com/walver-io/verify-crypto-signature
Last updated