DexProjectFinder is a Node.js-based tool for analyzing token data using Bitquery and managing it through MongoDB. It includes integration with Telegram to notify users about updates.
- Token Analysis: Utilizes Bitquery API for blockchain data analysis.
- Database Management: MongoDB is used to store and manage token data.
- Telegram Integration: Sends real-time updates via a Telegram bot.
Before running the project, ensure the following software and accounts are ready:
- Node.js: Download and install Node.js.
- MongoDB: Install and set up MongoDB locally or use a cloud MongoDB instance like MongoDB Atlas.
- Bitquery API Key: Get an API key by signing up at Bitquery.
- Telegram Bot: Create a bot using BotFather and get the token.
- DexTools API Token: Obtain a valid token from DexTools.
Run the following command to install all required packages:
npm install
Create a .env
file in the project directory with the following variables:
BITQUERY_API_KEY=<Your Bitquery API Key>
TELEGRAM_BOT_TOKEN=<Your Telegram Bot Token>
DEXTOOLS_TOKEN=<Your DexTools API Token>
DB_HOST=mongodb://localhost:27017 # Replace with your MongoDB URI
DB_NAME=dex_project_finder # Replace with your database name
Ensure MongoDB is running. If it's installed locally, you can start it with:
mongod
For MongoDB Atlas, ensure the connection URI in DB_HOST
is correct.
Start the application with:
npm start
- The application should display logs like
Running TokenFinder
and database connection status. - Telegram notifications will be sent if configured correctly.
- MongoDB Connection Error:
- Ensure MongoDB is running and
DB_HOST
is set correctly in.env
. - If using MongoDB Atlas, whitelist your IP address in the cluster settings.
- Ensure MongoDB is running and
- dextools API Error:
- Verify that your
DEXTOOLS_API_KEY
is active and correct.
- Verify that your
- Telegram Bot Error:
- Ensure your
TELEGRAM_BOT_TOKEN
is valid and the bot is added to your Telegram chat.
- Ensure your
- Dependencies Missing:
- Run
npm install
to ensure all dependencies are installed.
- Run