> For the complete documentation index, see [llms.txt](https://docs.energyweb.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.energyweb.org/energy-solutions/digital-spine-by-energy-web/component-guides/self-sovereign-identities/ssi-hub.md). Agents can also search and read this documentation through its [MCP server](https://docs.energyweb.org/~gitbook/mcp).

# SSI-Hub

## Overview

An Asset must be ‘owned’ by another entity that has a DID on the Energy Web Chain. Asset owners can transfer ownership of an asset to other identities on the Energy Web Chain. Once the transfer is initiated, the new owner must accept the transfer for it to be complete.

The Asset’s chain of custody is recorded on the blockchain so that all historical and current owners of an Asset are tracked. A user’s current and formerly owned assets can be retrieved by using their DID to query the IAM cache server for their Assets.

### Architecture (Application details)

<figure><img src="https://4257445316-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fnf3YeoQlQerc93GsC2Me%2Fuploads%2Ff5VXLsogPSwpd9vThHsh%2Fimage.png?alt=media&amp;token=bf40ed9f-7b95-4583-af31-add14b03a5b2" alt=""><figcaption><p>IAM architecture</p></figcaption></figure>

### Components

#### DID Cache Server

The SSI-Hub aims to be a server application to provide SSI and IAM functionality as a part of an SSI wallet system. It performs the following functions:

* Facilitates the credentials exchange between credential requesters and issuers.
* Account multi-tenancy. Multiple users can store their data and data access is authorized appropriately.
* Caches smart contract data such DID documents in order to improve read-query performance.

#### IAM Client Library

IAM Client Library is a TypeScript library to be used in decentralized applications for authentication and authorization using Decentralized Identifiers (DIDs) and Verifiable Credentials (VCs).

#### Switchboard

The Switchboard dApp is a decentralized application that provides a user interface to interact with the IAM client library.

Switchboard allows users to:

* Create self-sovereign Decentralized Identifiers (DID) for users and assets using a connection with a crypto wallet such as MetaMask. DIDs are anchored in a smart contract on the Energy Web Chain.
* Define hierarchical, role-based structures for organizations, applications and assets that participate in grid activities.
* Request and issue Verifiable Credentials that are required to take on roles within an organization or application that is registered on Switchboard.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.energyweb.org/energy-solutions/digital-spine-by-energy-web/component-guides/self-sovereign-identities/ssi-hub.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
