How thedatafoundation/protocol-explorer-app works
This is a Story Protocol web app for exploring IP organizations, assets, licenses, relationships, hooks, modules and transactions, and for submitting protocol actions. Users browse overview and entity pages, inspect related data, then use action forms or the SDK admin panel to create and register on-chain records. The graph follows documented page composition and sampled SDK-client calls; several views and write handlers are represented from the source index, so their internal behavior is not inferred beyond those references.
Main entry points: [ipOrgId]/page.tsx Organization detail · [ipAssetId]/page.tsx Asset detail · (main)/page.tsx Overview dashboard · admin/page.tsx SDK admin console
Components 27
Protocol browsing
- Overview dashboard
app/(main)/page.tsx - IP organization list
app/(main)/ipo/page.tsx - IP asset list
app/(main)/ipa/page.tsx - Organization detail
app/(main)/ipo/[ipOrgId]/page.tsx - Asset detail
app/(creatorView)/view/[ipOrgId]/[ipAssetId]/page.tsx - Org, hook, module views
components/views/IPOrg - Asset and relationship views
components/views/Asset - License views
components/views/Licenses - Transaction views
components/views/Transactions/TransactionTableWrapper.tsx
Protocol actions
- SDK admin console
app/(main)/admin/page.tsx - Organization writes
app/(main)/admin/IPOrgWriteAccordion.tsx - Asset writes
app/(main)/admin/IPAssetWriteAccordion.tsx - Relationship writes
app/(main)/admin/RelationshipWriteAccordion.tsx - Relationship type writes
app/(main)/admin/RelationshipTypeWriteAccordion.tsx - License actions
app/(main)/admin/CreateIpaBoundLicenseWriteAccordion.tsx - Write input form
app/(main)/admin/WriteAccordionInputForm.tsx - Create asset hook
hooks/useCreateIpAsset.ts - Register type hook
hooks/useRegisterRelationshipType.ts
SDK and transaction client
- Wallet-aware client hook
hooks/useStoryClient.ts - Server Story client
lib/SP.ts - Story client context
app/(main)/context/StoryClientContext.tsx
Presentation components
- Grid component
components/Grid/Grid.tsx - Loading placeholders
components/Skeletons/SkeletonGrid.tsx - Card container
components/cards/CardContainer.tsx - Table primitives
components/ui/table.tsx - Tab primitives
components/ui/tabs.tsx
Other components
- Browser user
Connections 42
- Browser user → Overview dashboard: opens
- Browser user → IP organization list: opens
- Browser user → IP asset list: opens
- Browser user → Organization detail: opens
- Browser user → Asset detail: opens
- Browser user → SDK admin console: opens
- Overview dashboard → Server Story client: lists transactions
app/(main)/page.tsx - Overview dashboard → Transaction views: renders
app/(main)/page.tsx - Overview dashboard → Org, hook, module views: renders
app/(main)/page.tsx - IP organization list → Org, hook, module views: renders
app/(main)/ipo/page.tsx - IP organization list → Organization writes: renders
app/(main)/ipo/page.tsx - IP asset list → Asset and relationship views: renders
app/(main)/ipa/page.tsx - Organization detail → Server Story client: gets org
app/(main)/ipo/[ipOrgId]/page.tsx - Organization detail → Asset and relationship views: renders
app/(main)/ipo/[ipOrgId]/page.tsx - Organization detail → Org, hook, module views: renders
app/(main)/ipo/[ipOrgId]/page.tsx - Organization detail → License views: renders
app/(main)/ipo/[ipOrgId]/page.tsx - Organization detail → Transaction views: renders
app/(main)/ipo/[ipOrgId]/page.tsx - Organization detail → Asset writes: offers action
app/(main)/ipo/[ipOrgId]/page.tsx - Organization detail → Relationship type writes: offers action
app/(main)/ipo/[ipOrgId]/page.tsx - Asset detail → Asset and relationship views: renders
app/(creatorView)/view/[ipOrgId]/[ipAssetId]/page.tsx - Asset detail → License views: renders
app/(creatorView)/view/[ipOrgId]/[ipAssetId]/page.tsx - Asset detail → Transaction views: renders
app/(creatorView)/view/[ipOrgId]/[ipAssetId]/page.tsx - Asset detail → Relationship writes: offers action
app/(creatorView)/view/[ipOrgId]/[ipAssetId]/page.tsx - Asset detail → License actions: offers action
app/(creatorView)/view/[ipOrgId]/[ipAssetId]/page.tsx - SDK admin console → Organization writes: renders
app/(main)/admin/page.tsx - SDK admin console → Asset writes: renders
app/(main)/admin/page.tsx - SDK admin console → Relationship writes: renders
app/(main)/admin/page.tsx - SDK admin console → Relationship type writes: renders
app/(main)/admin/page.tsx - Organization writes → Write input form: uses form
app/(main)/admin/IPOrgWriteAccordion.tsx - Asset writes → Write input form: uses form
app/(main)/admin/IPAssetWriteAccordion.tsx - Asset writes → Create asset hook: executes via
app/(main)/admin/IPAssetWriteAccordion.tsx - Relationship writes → Write input form: uses form
app/(main)/admin/RelationshipWriteAccordion.tsx - Relationship type writes → Write input form: uses form
app/(main)/admin/RelationshipTypeWriteAccordion.tsx - Relationship type writes → Register type hook: executes via
app/(main)/admin/RelationshipTypeWriteAccordion.tsx - Create asset hook → Wallet-aware client hook: gets client
hooks/useCreateIpAsset.ts - Register type hook → Wallet-aware client hook: gets client
hooks/useRegisterRelationshipType.ts - Transaction views → Server Story client: lists transactions
components/views/Transactions/TransactionTableWrapper.tsx - Wallet-aware client hook → Browser user: uses wallet
- Loading placeholders → Grid component: uses grid
components/Skeletons/SkeletonGrid.tsx - Overview dashboard → Tab primitives: uses tabs
- Table primitives → Loading placeholders: supports loading
- Card container → Overview dashboard: used by cards