Open royscheeren opened 3 weeks ago
We shall use did:pkh:tezos:NetXdQprcVkpaWU:tz1TzrmTBSuiVHV2VfMnGRMYvTEPCP42oSM8 as this keeps track of all the other information. The only option I see is to store the information pairs like:
key {
method: "did:pkh",
namespace: "tezos",
chainId: "NetXdQprcVkpaWU",
address: "tz1TzrmTBSuiVHV2VfMnGRMYvTEPCP42oSM8"
}
But I actually like it better to keep the parsing rules and store the whole values.
Problem statement
We currently mix identifiers with and without identifiers like did:pkh:tz and urn:uuid: It's annoying to keep track of when we use what.
Definition of done
Our system works completely without identifiers unless required by external parties like wallets or identity providers. We strip them before putting them into db We keep track of which identifier came with it