Skip to content
This repository has been archived by the owner on Aug 15, 2023. It is now read-only.

Request: Standardize account data format #19

Open
delbonis opened this issue Nov 9, 2020 · 2 comments
Open

Request: Standardize account data format #19

delbonis opened this issue Nov 9, 2020 · 2 comments

Comments

@delbonis
Copy link

delbonis commented Nov 9, 2020

I'm possibly planning on reimplementing the Skynet API and SkyID in Rust for use in other applications in the near future and it would be helpful to make the SkyID account format clearly specified in order to aid interoperability. Also planning in the future for what kinds of information a user would need to embed in their account for use with other applications is very useful.

This might be a bit out of scope, but it might be worthwhile to consider shipping SkyID as a browser extension that provides a permissioned interface for webapps to interface with and have more fine-grained access like Metamask. I'm not a webdev so I'm not an expert on what would be involved in this.

Also it would be helpful to reconsider if JSON is the best format to use given that the bulk of the data is keys and encoding to base64 is maybe wasteful? I'm a fan of using msgpack for these kinds of things.

@delbonis
Copy link
Author

delbonis commented Nov 9, 2020

Oh I'm seeing this and linked discussions: https://forum.sia.tech/t/discussion-about-sky-id/64

I suppose a lot of this is coming down the road soon.

@DaWe35
Copy link
Owner

DaWe35 commented Nov 11, 2020

Hi!

Thank you for the feedback. Currently, skynet-js is broken and SkyID requires it so breaking changes will come in 3 days (most of the changes are already on master)
I don't think I'll change the json structure so much, but if you have any better ideas, let me know.

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

No branches or pull requests

2 participants