LightX is a web-based application for monitoring new Solana tokens in real-time. It detects token creation events on the Solana blockchain and provides comprehensive information about each token, including safety scores, price data, and market statistics.
- Real-time Token Detection: Monitor the Solana blockchain for new token creations
- Token Safety Analysis: Get safety scores for tokens based on liquidity, holders, volume, and more
- Market Data: View price, market cap, and volume information for detected tokens
- Wallet Creation: Create and manage Solana wallets securely with PIN protection
- Beautiful UI: Modern and responsive interface for desktop and mobile devices
- Node.js (v14 or higher)
- npm or yarn
-
Clone the repository:
git clone https://github.com/LightxSolami/lightx.git cd Lightx -
Install dependencies:
npm install -
Configure environment variables: Create a
.envfile in the root directory and add the following:RPC_ENDPOINT=https://mainnet.helius-rpc.com/?api-key=YOUR_API_KEY RPC_WEBSOCKET_ENDPOINT=wss://mainnet.helius-rpc.com/?api-key=YOUR_API_KEY PORT=3000 -
Start the application:
npm start -
Open your browser and navigate to
http://localhost:3000
- Click the "Start Monitoring" button on the dashboard to begin monitoring the Solana blockchain for new tokens.
- When new tokens are detected, they will appear in the "Latest Tokens" section.
- Click "Stop Monitoring" to pause the monitoring process.
- Click the "Create Wallet" button to open the wallet creation form.
- Enter a PIN (minimum 6 characters) and confirm it.
- Click "Create Wallet" to generate a new Solana wallet.
- Your wallet's public key will be displayed. Make sure to save your PIN securely.
- Click "Details" on any token card to view comprehensive information about the token.
- The token detail page includes:
- Token name, symbol, and address
- Price, market cap, and volume data
- Safety score with visual indicator
- Social media links (if available)
- Links to external tools (Explorer, BirdEye, DexScreener, etc.)
LightX uses a modern web stack:
-
Backend:
- Node.js with Express for the API server
- Socket.IO for real-time communication
- Solana Web3.js for blockchain interaction
-
Frontend:
- Vanilla JavaScript for client-side logic
- HTML5 and CSS3 for a responsive UI
- Socket.IO client for real-time updates
- Private keys are encrypted using AES-256-CBC with a user-provided PIN
- All sensitive operations are performed on the server side
- No blockchain transactions can be made without proper authentication
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
- Solana for the blockchain infrastructure
- BirdEye for token price data
- DexScreener for market data
- RugCheck for token safety analysis
A modern token launch platform for Solana that implements bonding curves and King of the Hill mechanics.
-
Bonding Curves: Dynamic token pricing based on supply and demand
- Linear bonding curve: Price increases linearly with each token minted
- Exponential bonding curve: Price increases exponentially with each token minted
-
King of the Hill: First contributor to reach 50 SOL becomes the King of the Hill
- Special rewards and privileges for the King of the Hill
- Automatic Raydium listing when threshold is reached
-
Raydium Integration: Automatic listing on Raydium DEX
- Liquidity pool creation
- Market setup
- Initial liquidity provision
-
Real-time Updates: Live tracking of launchpad status
- Total raised
- Current price
- Tokens minted
- King of the Hill status
- Node.js >= 18.0.0
- Solana CLI tools
- Phantom or other Solana wallet
- Clone the repository:
git clone https://github.com/LightxSolami/lightx.git
cd Lightx- Install dependencies:
npm install- Build the project:
npm run build- Start the server:
npm startRun the development server with hot reload:
npm run dev- Navigate to the launchpad page
- Click "Create New Launchpad"
- Fill in the required information:
- Token Name
- Token Symbol
- Description
- Initial Supply
- Bonding Curve Type
- Social Links (optional)
- Select a launchpad from the list
- Click "Contribute"
- Enter your contribution amount in SOL
- Connect your wallet
- Confirm the transaction
- The first contributor to reach 50 SOL becomes the King of the Hill
- The King of the Hill receives special rewards and privileges
- The token is automatically listed on Raydium when the threshold is reached
GET /api/launchpads- Get all launchpadsPOST /api/launchpad/create- Create a new launchpadGET /api/launchpad/:id- Get launchpad detailsPOST /api/launchpad/:id/contribute- Contribute to a launchpadGET /api/launchpad/:id/stats- Get launchpad statisticsGET /api/launchpad/:id/king-of-hill- Get King of the Hill statusGET /api/launchpad/:id/bonding-curve- Get bonding curve information
launchpadUpdate- Real-time updates for launchpad statuslaunchpadCreated- Notification when a new launchpad is created
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Server is running on port 3000 Visit http://localhost:3000 to access the application