# vedhu01/blockchain architecture

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

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

## Overview

The repository tree exposes only a web page and PowerShell server; the README describes a much broader platform, but its nested web, mobile, contract, and data sources are not present in the supplied tree. The principal documented journey is an investor entering a role-specific portal, accessing art and trading capabilities, and using permissioned tokenization and compliance controls. Documented-only subsystems are included with null paths; their implementation and runtime connections cannot be verified from the available files.

Main entry points: [`index.html`](https://github.com/vedhu01/blockchain/blob/main/index.html) (Stakeholder Portal), [`server.ps1`](https://github.com/vedhu01/blockchain/blob/main/server.ps1) (REST API and WAF)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Web Experience"]
  node_portal["Stakeholder Portal<br/>[index.html]"]
  node_gallery["Art Gallery"]
  node_trading["Fractional Trading"]
  node_portfolio["Portfolio and Claims"]
end

subgraph group_services["Platform Services"]
  node_api["REST API and WAF<br/>[server.ps1]"]
  node_identity["DID and KYC"]
  node_consensus["IBFT Validators"]
  node_escrow[("Bank Escrow")]
end

subgraph group_assets["Art and Custody"]
  node_art[("Artwork Records")]
  node_custody["Vault Provenance"]
  node_ipfs[("IPFS Storage")]
end

subgraph group_governance["Tokenization and Governance"]
  node_token["ERC-3643 Tokens"]
  node_zk["ZK Verification"]
  node_dao["Market and Governance"]
end

node_investor(("Investor"))

node_investor -->|"enters"| node_portal
node_portal -->|"offers"| node_gallery
node_portal -->|"offers"| node_trading
node_portal -->|"offers"| node_portfolio
node_portal -.->|"uses API"| node_api
node_api -.->|"supports KYC"| node_identity
node_api -.->|"serves network"| node_consensus
node_gallery -->|"presents works"| node_art
node_art -->|"references media"| node_ipfs
node_custody -->|"anchors artworks"| node_art
node_trading -->|"supports orders"| node_dao
node_dao -->|"fractionalizes"| node_token
node_token -->|"checks eligibility"| node_identity
node_zk -->|"proves accreditation"| node_identity
node_portfolio -.->|"shows reserves"| node_escrow
node_portfolio -->|"claims dividends"| node_dao

click node_portal "https://github.com/vedhu01/blockchain/blob/main/index.html"
click node_api "https://github.com/vedhu01/blockchain/blob/main/server.ps1"

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_portal,node_gallery,node_trading,node_portfolio toneBlue
class node_api,node_identity,node_consensus,node_escrow toneAmber
class node_art,node_custody,node_ipfs toneMint
class node_token,node_zk,node_dao toneRose
class node_investor toneIndigo
```

## Components

### Web Experience

- [Stakeholder Portal](https://github.com/vedhu01/blockchain/blob/main/index.html): `index.html`
- **Art Gallery**
- **Fractional Trading**
- **Portfolio and Claims**

### Platform Services

- [REST API and WAF](https://github.com/vedhu01/blockchain/blob/main/server.ps1): `server.ps1`
- **DID and KYC**
- **IBFT Validators**
- **Bank Escrow**

### Art and Custody

- **Artwork Records**
- **Vault Provenance**
- **IPFS Storage**

### Tokenization and Governance

- **ERC-3643 Tokens**
- **ZK Verification**
- **Market and Governance**

### Other components

- **Investor**

## Connections

- Investor → Stakeholder Portal: enters (evidence: `README.md`)
- Stakeholder Portal → Art Gallery: offers (evidence: `README.md`)
- Stakeholder Portal → Fractional Trading: offers (evidence: `README.md`)
- Stakeholder Portal → Portfolio and Claims: offers (evidence: `README.md`)
- Stakeholder Portal → REST API and WAF: uses API
- REST API and WAF → DID and KYC: supports KYC
- REST API and WAF → IBFT Validators: serves network
- Art Gallery → Artwork Records: presents works (evidence: `README.md`)
- Artwork Records → IPFS Storage: references media (evidence: `README.md`)
- Vault Provenance → Artwork Records: anchors artworks (evidence: `README.md`)
- Fractional Trading → Market and Governance: supports orders (evidence: `README.md`)
- Market and Governance → ERC-3643 Tokens: fractionalizes (evidence: `README.md`)
- ERC-3643 Tokens → DID and KYC: checks eligibility (evidence: `README.md`)
- ZK Verification → DID and KYC: proves accreditation (evidence: `README.md`)
- Portfolio and Claims → Bank Escrow: shows reserves
- Portfolio and Claims → Market and Governance: claims dividends (evidence: `README.md`)
