canopy-network/canopy · Architecture
A static read of how canopy-network/canopy is wired together — module coupling, layering, and circular dependencies — derived from its import graph.
A
Architecture grade
score 94/100
1
Import cycles
lower is better
400
Modules parsed
470 edges
97%
Layeredness
clean-layer ratio
Most-depended-on modules
These are the highest-fan-in files — change them and the blast radius is largest. Read them first.
- lib/crypto/address.go58 importers · radius 74
- lib/block.go53 importers · radius 54
- cmd/rpc/web/explorer/src/lib/utils.ts29 importers · radius 49
- cmd/rpc/web/explorer/src/hooks/useApi.ts21 importers · radius 28
- cmd/rpc/web/explorer/src/components/AnimatedNumber.tsx16 importers · radius 32
- fsm/account.go13 importers · radius 17
- cmd/rpc/web/wallet/src/actions/fields/types.ts13 importers · radius 15
- cmd/rpc/web/explorer/src/components/ui/badgeStyles.ts12 importers · radius 27
Modules (24)
Source directories grouped from the import graph. Each links to a per-module page with its files and how it couples to the rest.
- cmd/rpc/web/wallet/src/actions/fields21 files · 54 in-degree
- lib6 files · 53 in-degree
- cmd/rpc/web/explorer/src/components7 files · 35 in-degree
- cmd/rpc/web/explorer/src/lib2 files · 35 in-degree
- cmd/rpc/web/explorer/src/hooks3 files · 30 in-degree
- cmd/rpc/web/explorer/src/components/ui3 files · 27 in-degree
- cmd/rpc/web/explorer/src/data10 files · 24 in-degree
- fsm12 files · 13 in-degree
- cmd/rpc/web/wallet/src/hooks7 files · 11 in-degree
- cmd/rpc/web/wallet/src/actions9 files · 8 in-degree
- cmd/rpc/web/explorer/src/components/transaction4 files · 8 in-degree
- cmd/rpc/web/explorer/src/components/validator8 files · 7 in-degree
- cmd/rpc/web/explorer/src/components/block7 files · 7 in-degree
- cmd/rpc/web/wallet/src/core4 files · 7 in-degree
- bft12 files · 5 in-degree
- controller6 files · 5 in-degree
- cmd/rpc/web/explorer/src/components/account5 files · 5 in-degree
- cmd/rpc/web/explorer/src/components/staking5 files · 5 in-degree
- cmd/rpc/web/explorer/src/components/token-swaps4 files · 5 in-degree · in cycle
- cmd/rpc/web/explorer/src/components/Home4 files · 5 in-degree
- cmd/rpc/web/wallet/src/components/layouts4 files · 5 in-degree
- cmd/rpc/web/wallet/src/components/monitoring5 files · 4 in-degree
- cmd/rpc/web/wallet/src/app/providers4 files · 4 in-degree
- cmd/rpc/web/wallet/src/toast3 files · 4 in-degree
Circular dependencies (1)
- cmd/rpc/web/explorer/src/components/token-swaps/TokenSwapsPage.tsx to cmd/rpc/web/explorer/src/components/token-swaps/RecentSwapsTable.tsx to cmd/rpc/web/explorer/src/components/token-swaps/TokenSwapsPage.tsx
Ask AI about canopy-network/canopy
Grounded in the actual source code. Pick a starter question or write your own.
What does this repo do, in one paragraph?How would I get started using it?What are the main alternatives?Show me the entry point.
Or write your own questionInformational only. RepoPilot summarises public signals at the time of analysis; they can be incomplete or stale. Not professional, security, or legal advice.