Skip to content

a command line binary for signing and verifying ethereum messages

Notifications You must be signed in to change notification settings

dbkbali/ethauth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a622468 · Mar 3, 2025

History

1 Commit
Mar 3, 2025
Mar 3, 2025
Mar 3, 2025
Mar 3, 2025
Mar 3, 2025
Mar 3, 2025
Mar 3, 2025
Mar 3, 2025

Repository files navigation

ethauth

A command-line utility for signing and verifying Ethereum messages.

Features

  • Signs Ethereum messages using a private key.
  • Verifies Ethereum signatures against an address.

Installation

This project uses Go modules. To install, clone the repository and run:

go install

Usage

The ethauth command provides subcommands for signing and verifying messages:

Signing a Message

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).

Verifying a Signature

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.

About

a command line binary for signing and verifying ethereum messages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published