signer-evm 0.3.1

EVM transaction signer wrapping alloy-signer-local.
Documentation

EVM transaction signer built on [alloy-signer-local].

[Signer] wraps a [PrivateKeySigner] with Deref for full alloy API access. The inner key is ZeroizeOnDrop.

Zero hand-rolled cryptography.

Signing methods (via Deref to PrivateKeySigner)

Method Standard
sign_hash_sync / sign_hash Raw 32-byte hash
sign_message_sync / sign_message EIP-191 personal_sign
sign_typed_data_sync / sign_typed_data EIP-712
sign_transaction_sync / sign_transaction All EVM tx types
address Signer's Ethereum address
chain_id / set_chain_id EIP-155 chain ID