Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multihash/multiformat message format #10

Closed
willwarren89 opened this issue Sep 18, 2017 · 4 comments
Closed

multihash/multiformat message format #10

willwarren89 opened this issue Sep 18, 2017 · 4 comments

Comments

@willwarren89
Copy link
Contributor

willwarren89 commented Sep 18, 2017

Summary

Add a layer of abstraction within 0x message format that removes dependence on specific hashing / cryptographic functions.

Motivation

0x protocol v1.0 relies upon use of the keccak256 hashing function and the secp256k1 elliptic curve for ECDSA. Ethereum will soon support new hashing functions (Blake2b) and cryptographic primitives (ed25519, Lamport, EC used in secure hardware enclaves, zk-snarks, threshold signatures, ...) that could allow for interesting new functionality within 0x protocol if supported. Multihash/multiformat support in 0x message format is the first step that we can take towards generalizing and future-proofing 0x protocol.

Specification

...

Rationale

...

Notes

...

@whyrusleeping
Copy link

👋 If you guys have any questions about multiformats feel free to let me or anyone on the ipfs team know

@recmo
Copy link

recmo commented Feb 15, 2018

@whyrusleeping I noticed that at the moment there is no multiformat for cryptographic signatures. Is this correct?

I'm currently working on generalized signature verification for version 2 (PR). The current implementation is similar to a multiformat, but rather Ethereum specific.

@willwarren89
Copy link
Contributor Author

A reference worth looking at: IPFS Multihash for Solidity.

@whyrusleeping
Copy link

@recmo That is correct, there is currently no multiformat for signatures. Its something thats needed as we move towards more interesting peer to peer apps.

cc @lgierth who has most of the context on multiformats research

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants