# abhignakankati/blockchain-iam architecture

> Architecture diagram of the GitHub repository abhignakankati/blockchain-iam, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-06). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/abhignakankati/blockchain-iam
- Repository: https://github.com/abhignakankati/blockchain-iam

## Overview

The repository tree contains only the README and package.json; no frontend, backend, contract, or shared-package source files are present. This graph therefore captures the product architecture and capabilities documented in the README, not verified runtime calls. The principal documented workflow is identity registration and admin activation, followed by credential-based, policy-controlled verification and resource access; sensitive access may involve risk flags and dual approval. Paths are null where the tree provides no implementation file.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_identity["Identity and credentials"]
  node_identity["Identity registration"]
  node_activation["Admin activation"]
  node_credential["Credential lifecycle"]
  node_delegation["Delegated verification"]
end

subgraph group_access["Access decisions"]
  node_policy["RBAC + ABAC"]
  node_risk["Risk and approvals"]
  node_accessresult["Resource access"]
end

subgraph group_integrity["Data and audit"]
  node_contracts["Smart contracts"]
  node_audit[("Audit log")]
  node_documents["Document hashing"]
  node_ipfs[("IPFS storage")]
end

subgraph group_platform["Application platform"]
  node_frontend["Frontend"]
  node_api["Backend API"]
  node_mongodb[("MongoDB")]
  node_wallet["MetaMask wallet"]
end

node_person(("User / verifier"))

node_person -.->|"uses"| node_frontend
node_frontend -.->|"requests"| node_api
node_api -.->|"registers"| node_identity
node_identity -.->|"requires approval"| node_activation
node_api -.->|"issues / revokes"| node_credential
node_person -.->|"requests verification"| node_delegation
node_api -.->|"supports"| node_delegation
node_api -.->|"checks access"| node_policy
node_policy -.->|"flags sensitive access"| node_risk
node_risk -.->|"gates with approval"| node_accessresult
node_policy -.->|"authorizes"| node_accessresult
node_api -.->|"uses"| node_contracts
node_contracts -.->|"records"| node_audit
node_api -.->|"hashes"| node_documents
node_documents -.->|"stores documents"| node_ipfs
node_api -.->|"uses"| node_mongodb
node_frontend -.->|"integrates"| node_wallet

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_identity,node_activation,node_credential,node_delegation,node_person toneBlue
class node_policy,node_risk,node_accessresult toneAmber
class node_contracts,node_audit,node_documents,node_ipfs toneMint
class node_frontend,node_api,node_mongodb,node_wallet toneRose
```

## Components

### Identity and credentials

- **Identity registration**
- **Admin activation**
- **Credential lifecycle**
- **Delegated verification**

### Access decisions

- **RBAC + ABAC**
- **Risk and approvals**
- **Resource access**

### Data and audit

- **Smart contracts**
- **Audit log**
- **Document hashing**
- **IPFS storage**

### Application platform

- **Frontend**
- **Backend API**
- **MongoDB**
- **MetaMask wallet**

### Other components

- **User / verifier**

## Connections

- User / verifier → Frontend: uses
- Frontend → Backend API: requests
- Backend API → Identity registration: registers
- Identity registration → Admin activation: requires approval
- Backend API → Credential lifecycle: issues / revokes
- User / verifier → Delegated verification: requests verification
- Backend API → Delegated verification: supports
- Backend API → RBAC + ABAC: checks access
- RBAC + ABAC → Risk and approvals: flags sensitive access
- Risk and approvals → Resource access: gates with approval
- RBAC + ABAC → Resource access: authorizes
- Backend API → Smart contracts: uses
- Smart contracts → Audit log: records
- Backend API → Document hashing: hashes
- Document hashing → IPFS storage: stores documents
- Backend API → MongoDB: uses
- Frontend → MetaMask wallet: integrates
