MCPcopy Index your code
hub / github.com/base/onchainsummer.xyz

github.com/base/onchainsummer.xyz @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
522 symbols 1,055 edges 260 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

onchainsummer

Overview

It's onchain summer.

Contributing

We're bringing the world onchain and we need your help.

  • Open a pull request
  • Report a bug

Development

Getting Started

  1. Run the development server:
npm install
# or
yarn
  1. Add the necessary env variables:
NEXT_PUBLIC_AARWEAVE_API_URL
NEXT_PUBLIC_CHAIN_ENV
NEXT_PUBLIC_MINT_DOT_FUN_API_URL
NEXT_PUBLIC_MINT_DOT_FUN_CHAIN_ID
NEXT_PUBLIC_RESERVOIR_API_URL
RESERVOIR_API_KEY

You'll find the variable values in the Dockerfile.

  1. Generate necessary data by running
yarn generate
  1. Start the dev server by running this command
npm run dev
# or
yarn dev
# or
pnpm dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Inter, a custom Google Font.

Extension points exported contracts — how you extend this code

MirrorSubscriptionFormProps (Interface)
(no doc)
src/components/MirrorSubscriptionForm/MirrorSubscriptionForm.tsx
CustomWindowProvider (Interface)
(no doc)
src/utils/getIsCoinbaseBrowser.ts
DropWithPartnerData (Interface)
(no doc)
src/app/page.tsx
ITweetMediaVariant (Interface)
(no doc)
src/models/Tweet.ts
CommunityData (Interface)
(no doc)
src/config/community.ts
CustomCountdownProps (Interface)
(no doc)
src/components/Countdown/Countdown.tsx
Window (Interface)
(no doc)
src/utils/analytics.ts
QueryResult (Interface)
(no doc)
src/app/trending/page.tsx

Core symbols most depended-on inside this repo

useMintDialogContext
called by 15
src/components/MintDialog/Context/useMintDialogContext.ts
getNow
called by 8
src/utils/getNow.ts
useLogEvent
called by 7
src/utils/useLogEvent.ts
shortenAddress
called by 5
src/utils/address.ts
useBalances
called by 4
src/utils/useBalances.ts
useIsMisMatched
called by 4
src/utils/useIsMismatched.ts
useDesiredNetworkContext
called by 3
src/components/DesiredNetworkContext/useDesiredNetworkContext.ts
getTrendingData
called by 3
src/utils/getTrendingData.ts

Shape

Function 438
Interface 76
Enum 8

Languages

TypeScript100%

Modules by API surface

generated/contracts.ts243 symbols
src/models/Tweet.ts7 symbols
src/components/MintButton/useValidate.tsx5 symbols
src/utils/analytics.ts4 symbols
src/utils/mintDotFunTypes.ts3 symbols
src/config/partners/types.ts3 symbols
src/components/Trending/Trending.tsx3 symbols
src/components/MintDialog/pages/InsufficientFunds/InsufficientFunds.tsx3 symbols
src/components/MintDialog/pages/CrossMint/helpers.ts3 symbols
src/components/MintDialog/pages/CrossMint/CrossMintForm.tsx3 symbols
src/components/MintDialog/pages/Bridge/Bridging.tsx3 symbols
src/components/MintDialog/pages/Bridge/Bridge.tsx3 symbols

For agents

$ claude mcp add onchainsummer.xyz \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact