Skip to content

cherrydotfun/analytics

Repository files navigation

cherry.fun

Overview

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.

Tech Stack

Installation & Setup

  1. Clone the repository:

    git clone git@github.com:cherrydotfun/app.git cherry-web
    cd cherry-web
  2. Install dependencies:

    npx yarn install
  3. Configure environment variables:

    • Copy env.example to .env.local and update values as needed.
    cp env.example .env.local

Development

Start the development server:

npx yarn dev

The app will be available at http://localhost:3000.

To run the app with a different port (for example, 4000), use:

npx yarn dev --port 4000

Production

Install all dependencies and build the app:

npx yarn install

To 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 start

Environment Variables

Environment variables are managed via the .env.local file. See .env.example for required variables.

Folder Structure

/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
└── ...

Scripts

  • npx yarn dev: Start dev server
  • npx yarn build: Build for production
  • npx yarn start: Start production server

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages