TBD54566975 / web5-js

Monorepo for the Web5 JS TypeScript implementation
https://tbd54566975.github.io/web5-js/
Apache License 2.0
135 stars 56 forks source link

Make DID states downloadable #29

Open chris-tbd opened 1 year ago

chris-tbd commented 1 year ago

Should be downloadable via web5.did.download() or something similar

michaelneale commented 1 year ago

yes, this would be good. DID + VCs. I wonder if this could also include a general DWN backup (but I may be scope creeping)

michaelneale commented 1 year ago

Note - it is trivial in page to ball up data in a zip for download. see this code example: https://gist.github.com/michaelneale/0804d19db3c98cb21e6f3af1c9741918 - this works on a phone as well where people can back up their state and then restore it (as per #74 )

michaelneale commented 1 year ago

I would think this should include DID (including all generated stuff) and perhaps... VCs?

michaelneale commented 1 year ago

this shows how it can be done: https://github.com/TBD54566975/web5-js/pull/127