eth-keys icon indicating copy to clipboard operation
eth-keys copied to clipboard

(Maybe) re-add bytes(obj) API

Open pipermerriam opened this issue 8 years ago • 1 comments

Maybe re-add bytes(obj) API since @carver is so convincing.

pipermerriam avatar Sep 28 '17 22:09 pipermerriam

bytes(PrivateKey) would be especially great.

I would kind of expect bytes(PublicKey) to be supported, by symmetry, but it also seems like something that won't be used much.

bytes(signature) is unusable in a transaction/message signing context, and probably adds more confusion than it helps. But if you want to leave it in, I don't have an objection.

carver avatar Sep 29 '17 19:09 carver