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

Query RPC for ssi module #55

Merged
merged 2 commits into from
Feb 13, 2022
Merged

Query RPC for ssi module #55

merged 2 commits into from
Feb 13, 2022

Conversation

arnabghose997
Copy link
Contributor

No description provided.

@arnabghose997 arnabghose997 self-assigned this Feb 13, 2022
@arnabghose997 arnabghose997 linked an issue Feb 13, 2022 that may be closed by this pull request
@arnabghose997
Copy link
Contributor Author

Query DID RPCs Output

Query DidDoc using DID

Swagger UI

image

CLI

$ hid-noded query ssi did did:hs:0f49341a-20ef-43d1-bc93-de30993e6c51
didDoc:
  assertionMethod:
  - did:hs:0f49341a-20ef-43d1-bc93-de30993e6c51#zEYJrMxWigf9boyeJMTRN4Ern8DJMoCXaLK77pzQmxVjf
  authentication:
  - did:hs:0f49341a-20ef-43d1-bc93-de30993e6c51#zEYJrMxWigf9boyeJMTRN4Ern8DJMoCXaLK77pzQmxVjf
  capabilityInvocation:
  - did:hs:0f49341a-20ef-43d1-bc93-de30993e6c51#zEYJrMxWigf9boyeJMTRN4Ern8DJMoCXaLK77pzQmxVjf
  context:
  - https://www.w3.org/ns/did/v1
  - https://w3id.org/security/v1
  - https://schema.org
  created: "2021-04-06T14:13:14.018Z"
  id: did:hs:0f49341a-20ef-43d1-bc93-de30993e6c51
  keyAgreement:
  - did:hs:0f49341a-20ef-43d1-bc93-de30993e6c51#zEYJrMxWigf9boyeJMTRN4Ern8DJMoCXaLK77pzQmxVjf
  name: Vishwas
  publicKey:
  - context: https://w3id.org/security/v2
    id: did:hs:0f49341a-20ef-43d1-bc93-de30993e6c51#zEYJrMxWigf9boyeJMTRN4Ern8DJMoCXaLK77pzQmxVjf
    publicKeyBase58: zEYJrMxWigf9boyeJMTRN4Ern8DJMoCXaLK77pzQmxVjf
    type: Ed25519VerificationKey2020
  type: https://schema.org/Person
  updated: "2021-04-06T14:13:14.018Z"

Query DID Count

Swagger UI

image

CLI

$ hid-noded query ssi did-count
count: "1"

@arnabghose997 arnabghose997 merged commit e7305f2 into main Feb 13, 2022
@arnabghose997 arnabghose997 deleted the query-did-rpc-module-ssi branch February 21, 2022 04:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Adding did (Query) RPC in ssi module
1 participant