cherry.fun helps traders spot real opportunities and avoid scams on Solana. It provides a suite of tools to analyze and track Solana tokens and wallets, including:
- Wallet analytics: find hidden links between wallets and organise them into groups.
- Token analytics: track token movements and identify potential scams.
- Holder analytics: analyze the distribution of token holders and their activity.
- Custom cluster analysis: create custom clusters of wallets and tokens for deeper analysis.
- Visualization tools: visualize wallet and token data in an easy-to-understand format.
-
Clone the repository:
git clone git@github.com:cherrydotfun/app.git cherry-web cd cherry-web -
Install dependencies:
npx yarn install
-
Configure environment variables:
- Copy
env.exampleto.env.localand update values as needed.
cp env.example .env.local
- Copy
Start the development server:
npx yarn devThe app will be available at http://localhost:3000.
To run the app with a different port (for example, 4000), use:
npx yarn dev --port 4000Install all dependencies and build the app:
npx yarn installTo run the app in production mode, you need to build it first. This will create an optimized version of your app in the .next directory.
Build and start the production server:
npx yarn build
npx yarn startEnvironment variables are managed via the .env.local file. See .env.example for required variables.
/cherry-web/src/
├── app/ # Next.js app routed components
├── api/ # API endpoints
├── components/ # Reusable React components
├── public/ # Static assets
├── lib/ # Utility functions
├── hooks/ # Custom React hooks
├── types/ # Shared TypeScript types
├── env.example # Example environment variables
├── package.json
└── ...
npx yarn dev: Start dev servernpx yarn build: Build for productionnpx yarn start: Start production server