PublicKey (PublicKeyType) is a branded 64-byte Uint8Array storing an uncompressed secp256k1 affine point without the 0x04 prefix, supporting SEC1 33-byte compression/decompression, Ethereum address derivation, and ECDSA verification.
Key Formats
Decompression recovers and selects the root whose least-significant bit matches the
0x02/0x03 parity prefix.
Quick Start
@tevm/voltaire/PublicKey.
API Reference
Tree-shakeable exports from
@tevm/voltaire/PublicKey: Verify({ secp256k1Verify }), _toHex, _toAddress, _verify, _compress, _decompress, _isCompressed.
Related
- PrivateKey — 32-byte secp256k1 signing keys
- Address — 20-byte accounts derived from uncompressed public keys
- StealthAddress — ERC-5564 compressed spending/viewing public keys

