-
Notifications
You must be signed in to change notification settings - Fork 6
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
API for serializing / deserializing delegations #174
Comments
@alanshaw this has came up in the past with @hugomrdias and my answer was, we can't have
All in all What we do have instead is Which is used by transport to serialize delegation into a CAR which can represent DAGs Only reason there was never I know CAR isn't a string, but but we have base codec to deal with that. If we really want a JSON version than I think we need to define CAR like structure in DAG JSON in which case it would become plausible. |
yes its this file https://github.com/web3-storage/w3protocol/blob/6abe8c2dcc72a888ce998c6f5d126f6ba3f81c4c/packages/access-client/src/encoding.js I used base64url for the string encoding. Is this enough for your needs @alanshaw ? if it is we should add this task to the current phase |
As per #173 (comment) there seems to be a desire for an API that can serialize / de-serialize delegations
The text was updated successfully, but these errors were encountered: