Open oed opened 4 years ago
@oed This looks great, and very useful especially as we have more than one network. On that note, is namespace
a standard in multiformats, or something we created. If it's something we created, then perhaps networkID
is more clear? Unless you see a use case for this where the namespace will not equal a networkID.
@michaelsena Its different from multiformats. I think namespace
is more clear since networkID
is usually (in ethereum) used to refer to the peer network itself. Where as this is actually more of a namespace for documents.
To clarify, which base32
is used here? Also, padding?
@ukstv See here: https://github.com/multiformats/multibase (updated spec with link)
can i get a link to the format of the complete bytes for the resource identified by genesis-cid-bytes
? (I want to see what genesis data is)
You can have a look in the Ceramic specs @OR13
Note however that different doctypes might encode this using various ipld codecs. For example, tile
uses dag-jose
, while 3id
and caip10-link
just uses dag-cbor
.
In theory a doctype could support a genesis format of any shape, as long as ceramic has a way to interpret what doctype is being used.
Updated the specs and created a PR: https://github.com/ceramicnetwork/CIP/pull/61
@zachferland can you please make a PR to update the DocID spec based on the changes that ended up in the implementation?
Discussion for CIP-59.