DexSpyder Raydium Monitor is a background monitor that detects newly created Raydium pools and sends information about them as Discord embeds to the specified clients.
DexSpyder Monitor is a utility written in TypeScript that monitors newly created Raydium pools on the Solana blockchain. It sends real-time updates to Discord channels through embeds, notifying clients about new pool creations. The application leverages the Metaplex and Solana JavaScript libraries for blockchain interactions.
- Clone this repository to your local machine.
- Navigate to the cloned directory:
cd <cloned-dir-name>
. - Install dependencies using your package manager of choice:
npm install
oryarn install
.
- Update the
clients.json
file with the Discord webhook URLs of your clients. - Configure your Discord webhook to receive embeds.
- Set the RPC URL for Solana by replacing
'YOUR-RPC-URL-HERE'
in themain()
function. - Run the application:
npm start
oryarn start
.
clients.json
: Contains an array of clients with their Discord webhook URLs. Clients can be configured with optional branding information for customized embeds.
The provided auto launch bash script ensures that the application is always running in the background. If it's not running, the script restarts it.
#!/bin/bash
while true; do
if ! pgrep -f "fetch_metadata.js" > /dev/null; then
echo "fetch_metadata.js is not running"
echo "starting fetch_metadata.js"
nohup node fetch_metadata.js & disown
fi
sleep 5
done
Contributions are welcome! If you find a bug or want to enhance the application, feel free to create an issue or submit a pull request!