did:web
This page describes how to perform the following operations for did:web using the SVX platform.
Resolve
Create
Update
Deactivate
Resolve
curl -H "Authorization: Bearer TOKEN" \
-H 'accept: application/ld+json;profile="https://w3id.org/did-resolution"' \
-X GET "https://svx-api.meeco.me/did/{did:web identifier}"Create
Generate Keypair
Create your DID controller keypair
Encode the public key using Base64 URL encoding.
cat pubkey | tail -c +13 | base58
# e.g. 7b4frLNZUy5SDnWJTuTCp34TcApYz2kDzBh6wkZudCu7Create DID
Call the DID Create API to create a new did:web and return the associated DID document. Use the Base58 representation of the public key from previous step.
Update
Call the DID Update API to update an existing did:web and return the associated DID document.
Deactivate
Call DID Deactivate API to deactivate an existing did:web.
Last updated
Was this helpful?