Skip to content

A Telegram bot that monitors Telegram channels for Solana coin addresses, validates them, detects potential rug pulls, and forwards them to a user’s trading bot. Built with Docker for easy deployment, this bot ensures isolation and portability, making it perfect for real-time address tracking and validation.

Notifications You must be signed in to change notification settings

umarraj008/python-telegram-crypto-bot

 
 

Repository files navigation

Instructions

1. Login to Their Telegram on Browser Using Thier Phone Number

2. Create Telegram app and get info:

1. Go to -> https://my.telegram.org/apps
2. Get the api_id
3. Get the api_hash
4. App Title -> Chat to Trojan
5. Stort -> Deez

3. On Telegram Add @solana_trojanbot Bot

4. Join the chanel (https://t.me/cryptoyeezuscalls)

5. Deploy Test Container with their details

1. send a test message
2. send a test coin

6. Deploy Production Container with Channel

https://t.me/cryptoyeezuscalls

Docker Commands

See Active Containers

docker ps

See All Containers

docker ps -a 

Start Container

docker start -i <name>

Stop Container

Graceful Stop

docker stop <name>

Force Kill

docker kill <name>

Remove Container

docker rm NAME

Interact With Container

docker attach NAME

Copying addresses.txt to container

docker cp addresses.txt <name>:/app/addresses.txt

Exit Interact

Exit -> Ctrl + P -> Ctrl + Q

Create Container

docker run -it \
  --name <name> \
  -e API_ID="" \
  -e API_HASH="" \
  -e PHONE_NUMBER="" \
  -e TROJAN_BOT_CHAT_ID="@solana_trojanbot" \
  -e CHANNEL_INVITE_LINK='[""]' \
  --restart=no \
  --tty \
  --interactive \
  umarraj008/my-python-app

Updating Containers

  1. Copy the files from old container
docker cp <container-name>:app/addresses.txt updater_temp/addresses.txt
docker cp <container-name>:app/session_name.sesion updater_temp/session_name.session
  1. Stop old contianer
docker stop <container-name>
  1. make new container - make detatched, reasign entry, sleep
docker run -d \
  --name umarV2.1 \
  -e API_ID="20027855" \
  -e API_HASH="ab5081fcbdc01d94c1d182d7ac44a020" \
  -e PHONE_NUMBER="+44 7399 276578" \
  -e TROJAN_BOT_CHAT_ID="@solana_trojanbot" \
  -e CHANNEL_INVITE_LINK_1="https://t.me/cryptoyeezuscalls" \
  --restart=no \
  --tty \
  --interactive \
  --entrypoint "/bin/bash" \
  umarraj008/telegram-bot:V2.1 \
  -c sleep infinity
  1. Copy files back
docker cp updater_temp/addresses.txt <container-name>:app/addresses.txt
docker cp updater_temp/session_name.session <container-name>:app/session_name.session
  1. Run new container
docker update --entrypoint "/app/entrypoint.sh" <container-name>
docker start <new-container-name>
docker exec -i <new-container-name> /app/entrypoint.sh

About

A Telegram bot that monitors Telegram channels for Solana coin addresses, validates them, detects potential rug pulls, and forwards them to a user’s trading bot. Built with Docker for easy deployment, this bot ensures isolation and portability, making it perfect for real-time address tracking and validation.

Topics

Resources

Stars

Watchers

Forks