Automates meme coin trading on Solana using Raydium. Fetches tweets, detects bullish sentiments with OpenAI, and swaps SOL for tokens.
-
Clone & Install: git clone https://github.com/your-repo/meme-coin-script.git cd meme-coin-script npm install
-
Configure .env: cp .env.example .env Fill in: RAPID_API_KEY=your_rapid_api_key OPENAI_API_KEY=your_openai_api_key PRIVATE_KEY=your_solana_private_key RPC_URL=https://api.mainnet-beta.solana.com
- Dev Mode: npm run dev
- Build & Run: npm run build npm start
- Fetches recent tweets.
- Detects bullish posts with token addresses via OpenAI.
- Swaps SOL for the token using Raydium.
For educational purposes only. Use at your own risk.