Skip to main content

Wallets

A cloud wallet is a secure wallet that Hovi keeps in the cloud for one of your users. Like a physical wallet that holds ID cards, it holds the user's credentials, and your app uses it to receive credentials and share proofs for that user. You don't need to run wallet servers or manage keys yourself.

Before you start​

Make sure you have a Cloud Wallet API key.

Steps​

  1. Open the Hovi Cloud Wallet API Reference.
  2. Go to the Wallet section.
  3. Open POST - Create Wallet and click Test Request.
  4. Enter your Cloud Wallet API key in the x-api-key header, fill in the body parameters (a label and a secret for the wallet) and click Send.

The response includes the wallet's id, its did and its accessToken. Store the access token safely: you send it as a Bearer Token on every other request for this wallet.

Manage wallets​

EndpointAuthenticationWhat it does
POST - Create WalletCloud Wallet API keyCreates a wallet.
GET - Get All Created WalletsCloud Wallet API keyLists the wallets you've created.
DELETE - Delete WalletWallet access tokenDeletes the wallet the token belongs to.
DELETE - Admin Delete WalletCloud Wallet API keyDeletes a wallet by its walletId.

What happens next​

Your user's wallet can now connect to issuers (cheqd and Indicio), receive credentials and share proofs.