hanahem / PancakeSwap-Monitor

Informs you when a new cryptocurrency token is available for trading on PancakeSwap

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PancakeSwap monitor

Informs you when a new crypto currency token is available for trading on PancakeSwap.

Features

  • Monitors a list of crypto currency tokens available on PancakeSwap]
  • Informs you via Telegram when a new token is available for trading
  • Updates every 5 minutes (which is limited by the public PancakeSwap API)

Requirements

  • Python 3.9
  • Requests 2.25.1

Installation

  • Install Python 3.9 or higher
  • Add python to your PATH (can be configured during Python installation)
  • Clone the repository
  • Install the requirements
git clone https://github.com/tmxkn1/pancake-monitor.git
cd pancake-monitor
python -m pip install -r requirements.txt

Usage

  • Create a Telegram bot for sending messages to your users (later referred to as user_msg_bot)
  • (optional) Create a second Telegram bot if you want a dedicated bot to send admin messages (later referred to as admin_msg_bot)
  • Go to the directory where the script is located
  • Edit credentials/telegram_bot.json.example:
    • Add your user_msg_bot information in user_msg_bot
    • (optional) Add your admin_msg_bot information in admin_msg_bot and change the value of admin_msg_bot.enabled to 1.
    • Add chat_id of your Telegram account or whoever is the admin
    • Add chat_ids of the users you want to receive notifications, including the admin if applicable
    • Save the file and remove the .example extension
  • Ask all your users to search and start the chat channel with user_msg_bot
  • (optional) Ask your admin to search and start the chat channel with admin_msg_bot
  • Run main.py

Messages

  • Admin bot will push a message whenever Pancakeswap updates its database and the bot captures the update. Normally, the database is updated every 5 minutes.
  • Admin bot will push all exceptions.
  • User bot will push a message whenever a new token is available on Pancakeswap.

Changelog

See CHANGELOG for details.

License

See LICENSE for details.
Also see LICENSE-3RD-PARTY for third party licenses.

About

Informs you when a new cryptocurrency token is available for trading on PancakeSwap

License:Apache License 2.0


Languages

Language:Python 100.0%