# chrisleguru/multi_chain_explorer architecture

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

- Interactive diagram: https://gitdiagram.com/chrisleguru/multi_chain_explorer
- Repository: https://github.com/chrisleguru/multi_chain_explorer

## Overview

This is a frontend-only multi-chain wallet balance checker. The documented workflow is: a user enters an address and selects a network; the app fetches its native balance through that network’s public API; CoinGecko supplies USD pricing; and the app displays the balance in native units and USD. The README names the integrations but provides no source excerpts or implementation paths, so paths are null and the graph is limited to documented behavior.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_workflow["Balance workflow"]
  node_address_network["Address and network"]
  node_balance_checker["Balance checker app"]
  node_balance_result["Balance display"]
end

subgraph group_chain_apis["Blockchain APIs"]
  node_bitcoin_api["Bitcoin API"]
  node_ethereum_api["Ethereum API"]
  node_cardano_api["Cardano API"]
  node_polkadot_api["Polkadot API"]
  node_sui_api["Sui API"]
  node_solana_api["Solana API"]
  node_polygon_api["Polygon API"]
  node_bnb_api["BNB Chain API"]
end

subgraph group_pricing["Pricing"]
  node_coingecko["CoinGecko"]
end

node_user(("User"))

node_user -->|"enters"| node_address_network
node_address_network -->|"submits"| node_balance_checker
node_balance_checker -->|"fetches balance"| node_bitcoin_api
node_balance_checker -->|"fetches balance"| node_ethereum_api
node_balance_checker -->|"fetches balance"| node_cardano_api
node_balance_checker -->|"fetches balance"| node_polkadot_api
node_balance_checker -->|"fetches balance"| node_sui_api
node_balance_checker -->|"fetches balance"| node_solana_api
node_balance_checker -->|"fetches balance"| node_polygon_api
node_balance_checker -->|"fetches balance"| node_bnb_api
node_balance_checker -->|"gets USD pricing"| node_coingecko
node_balance_checker -->|"displays balances"| node_balance_result

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_address_network,node_balance_checker,node_balance_result,node_user toneBlue
class node_bitcoin_api,node_ethereum_api,node_cardano_api,node_polkadot_api,node_sui_api,node_solana_api,node_polygon_api,node_bnb_api toneAmber
class node_coingecko toneMint
```

## Components

### Balance workflow

- **Address and network**
- **Balance checker app**
- **Balance display**

### Blockchain APIs

- **Bitcoin API**
- **Ethereum API**
- **Cardano API**
- **Polkadot API**
- **Sui API**
- **Solana API**
- **Polygon API**
- **BNB Chain API**

### Pricing

- **CoinGecko**

### Other components

- **User**

## Connections

- User → Address and network: enters (evidence: `README.md`)
- Address and network → Balance checker app: submits (evidence: `README.md`)
- Balance checker app → Bitcoin API: fetches balance (evidence: `README.md`)
- Balance checker app → Ethereum API: fetches balance (evidence: `README.md`)
- Balance checker app → Cardano API: fetches balance (evidence: `README.md`)
- Balance checker app → Polkadot API: fetches balance (evidence: `README.md`)
- Balance checker app → Sui API: fetches balance (evidence: `README.md`)
- Balance checker app → Solana API: fetches balance (evidence: `README.md`)
- Balance checker app → Polygon API: fetches balance (evidence: `README.md`)
- Balance checker app → BNB Chain API: fetches balance (evidence: `README.md`)
- Balance checker app → CoinGecko: gets USD pricing (evidence: `README.md`)
- Balance checker app → Balance display: displays balances (evidence: `README.md`)
