Signature (SignatureType) is a branded cryptographic signature supporting secp256k1, p256 (secp256r1 / WebAuthn), and ed25519, with lossless conversion across 65-byte (r, s, v), EIP-2098 64-byte compact (r, vs), ASN.1 DER, hex, and RPC tuple formats, plus EIP-2 low-s canonicalization.
Wire Formats (secp256k1)
Quick Start
@tevm/voltaire or @tevm/voltaire/Signature.
API Reference
Malleability Rule (EIP-2)
Every ECDSA signature on secp256k1 has a twin that verifies against the same digest and key. Ethereum rejects high-s signatures () in transactions and EIP-7702 authorizations. Signature.normalize maps any high-s signature to its unique low-s canonical form.
Related
- PrivateKey — 32-byte signing keys
- PublicKey — 64-byte / 33-byte verification keys
- Secp256k1 — Low-level elliptic curve signing and recovery

