A command-line utility for signing and verifying Ethereum messages.
- Signs Ethereum messages using a private key.
- Verifies Ethereum signatures against an address.
This project uses Go modules. To install, clone the repository and run:
go installThe ethauth command provides subcommands for signing and verifying messages:
ethauth sign --private-key <your_private_key> --message "<your_message>"--private-key: Your Ethereum private key (hexadecimal string). Keep this secret!--message: The message to sign (string).
ethauth verify --signature <your_signature> --message "<your_message>" --address <your_address>--signature: The signature to verify (hexadecimal string).--message: The original message (string).--address: The Ethereum address to verify against.