The Wallet Service stores DIDs and keys created by the Universal Registrar API. This is useful, so that clients don't have to maintain their own key management system.
The Wallet Service supports basic key management operations such as importing and exporting of keys, transfer of DIDs, as well as creating and verifying signatures.
See https://api.godiddy.com/#tag/Wallet-Service
This request lists all DIDs that currently have corresponding keys in the wallet:
curl -H "Authorization: Bearer b082c420-df67-4b06-899c-b7c51d75fba0" \
-X GET "https://api.godiddy.com/0.1.0/wallet-service/controllers" \
-H "Accept: application/json"
This request lists all public keys that currently exist in the wallet:
curl -H "Authorization: Bearer b082c420-df67-4b06-899c-b7c51d75fba0" \
-X GET "https://api.godiddy.com/0.1.0/wallet-service/keys" \
-H "Accept: application/json"
This request signs the payload Hello World
using the key 0434de23-b764-415b-b607-da2f5f016922
in the wallet:
curl -H "Authorization: Bearer b082c420-df67-4b06-899c-b7c51d75fba0" \
-X POST "https://api.godiddy.com/0.1.0/wallet-service/keys/sign?id=386fd0bf-6bf2-4063-a1b0-42927caf1886&algorithm=EdDSA" \
-H "Content-Type: application/octet-stream" \
-d 'Hello World'