ethereum / eth-keys

A common API for Ethereum key operations.
MIT License
159 stars 64 forks source link

Add to_bytes api #15

Closed pipermerriam closed 6 years ago

pipermerriam commented 6 years ago

What was wrong?

Calling bytes(public_key) is somewhat awkward.

How was it fixed.

Added a to_bytes() method to all of PublicKey, PrivateKey and Signature

094322d7a79b7b53c28ce303ff4f753f