# jenngremicinc-svg/fiduciary-core architecture

> Architecture diagram of the GitHub repository jenngremicinc-svg/fiduciary-core, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-27). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/jenngremicinc-svg/fiduciary-core
- Repository: https://github.com/jenngremicinc-svg/fiduciary-core

## Overview

This is a minimal Vite/React thirdweb starter, not a fiduciary or contract-management product. Its user-facing workflow is to load the app, initialize thirdweb support and a client, then present a ConnectButton for user onboarding. The README also describes thirdweb and Vite as preconfigured. The available source shows the app-to-client wiring; it does not show wallet-provider internals or a completed connection result, so those are not modeled.

Main entry points: [`src/App.tsx`](https://github.com/jenngremicinc-svg/fiduciary-core/blob/main/src/App.tsx) (Starter app), [`src/main.tsx`](https://github.com/jenngremicinc-svg/fiduciary-core/blob/main/src/main.tsx) (React entry), [`src/client.ts`](https://github.com/jenngremicinc-svg/fiduciary-core/blob/main/src/client.ts) (Client config)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["App runtime"]
  node_entry["React entry<br/>[main.tsx]"]
  node_app["Starter app<br/>[App.tsx]"]
end

subgraph group_thirdweb["thirdweb integration"]
  node_client["Client config<br/>[client.ts]"]
  node_provider["ThirdwebProvider"]
  node_connect["ConnectButton"]
end

node_user(("User"))

node_entry -->|"wraps app"| node_provider
node_entry -->|"renders"| node_app
node_app -->|"uses client"| node_client
node_app -->|"renders"| node_connect
node_user -->|"onboards with"| node_connect
node_client -->|"configures"| node_connect

click node_entry "https://github.com/jenngremicinc-svg/fiduciary-core/blob/main/src/main.tsx"
click node_app "https://github.com/jenngremicinc-svg/fiduciary-core/blob/main/src/App.tsx"
click node_client "https://github.com/jenngremicinc-svg/fiduciary-core/blob/main/src/client.ts"

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_entry,node_app,node_user toneBlue
class node_client,node_provider,node_connect toneAmber
```

## Components

### App runtime

- [React entry](https://github.com/jenngremicinc-svg/fiduciary-core/blob/main/src/main.tsx): `src/main.tsx`
- [Starter app](https://github.com/jenngremicinc-svg/fiduciary-core/blob/main/src/App.tsx): `src/App.tsx`

### thirdweb integration

- [Client config](https://github.com/jenngremicinc-svg/fiduciary-core/blob/main/src/client.ts): `src/client.ts`
- **ThirdwebProvider**
- **ConnectButton**

### Other components

- **User**

## Connections

- React entry → ThirdwebProvider: wraps app (evidence: `src/main.tsx`)
- React entry → Starter app: renders (evidence: `src/main.tsx`)
- Starter app → Client config: uses client (evidence: `src/App.tsx`)
- Starter app → ConnectButton: renders (evidence: `src/App.tsx`)
- User → ConnectButton: onboards with (evidence: `README.md`)
- Client config → ConnectButton: configures
