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

Discussion: Also Known As Definition #55

Open
michaelsena opened this issue Jul 22, 2020 · 5 comments
Open

Discussion: Also Known As Definition #55

michaelsena opened this issue Jul 22, 2020 · 5 comments
Assignees

Comments

@michaelsena
Copy link
Member

michaelsena commented Jul 22, 2020

Discussion for CIP-23.

PR: #70

@simonovic86
Copy link

@michaelsena @oed updated the JSON Schema

@michaelsena
Copy link
Member Author

@smcki012 with this schema we're trying to generalize how an ID can be represented across various contexts. Would be helpful if you could check the Handshake example above and see if it makes sense 👌 🙏 .

@smcki012
Copy link

At first glance here everything looks straight-forward. HNS is a root anchor and its custom built "Urkel" base-2 radix trie allows for 512 bytes of storage for your on-chain reference. The resource guide for acceptable on-chain records can be found here https://hsd-dev.org/guides/resource-records.html

Storing the contextual JSON info you need in the TXT-record is definitely a great way to bridge DID systems (and has been suggested by others, and a primary use case of early HNS indexers, i.e https://github.com/HandshakeAlliance/hindexer). There are some concerns about privacy of having static on-chain records as pointers to users information, but in the instance of identity attestation and not P2P payments (address reuse shouldn't be a standard practice), it's less of an immediate concern.

@michaelsena
Copy link
Member Author

Thanks @smcki012 👌 that's helpful! What's the easiest way to lookup a txt record in Handshake?

@smcki012
Copy link

Thanks @smcki012 👌 that's helpful! What's the easiest way to lookup a txt record in Handshake?

HSD bundles a recursive resolver. When you run it locally you can query it like 'dig MichaelSena txt +short'; indexer would just store all those records for simpler lookups. See also this WIP: handshake-org/hsd#280

@oed oed changed the title Linked Accounts Array Discussion: Social Accounts Definition Nov 3, 2020
@oed oed changed the title Discussion: Social Accounts Definition Discussion: Also Known As Definition Nov 10, 2020
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

4 participants