Coder Social home page Coder Social logo

can-kat / crypto-wallet-tracker Goto Github PK

View Code? Open in Web Editor NEW
100.0 4.0 54.0 82 KB

Crypto Wallet Tracker is a Python Telegram bot that tracks added ETH and BNB wallets and notifies users of new transactions.

License: Creative Commons Zero v1.0 Universal

Python 100.00%
crypto crypto-bot crypto-currency crypto-tracker crypto-wallet crypto-wallet-blockchain crypto-wallet-finder crypto-wallet-tracker crypto-wallets cryptocoins cryptocurrencies cryptocurrency cryptocurrency-exchanges telegram-bot wallet-tracking wallet-transaction

crypto-wallet-tracker's Introduction

Crypto Wallet Transactions Tracker Bot




This is a Telegram bot that tracks the transactions of added Ethereum (ETH) and Binance Coin (BNB) wallets and sends notifications whenever a new transaction occurs. The bot uses the Etherscan and BSCscan APIs to gather information about transactions, and CoinGecko to fetch the current prices of ETH and BNB.

You can contact me for any inquiry;
Telegram (THIS IS NOT A BOT)

Commands

  • /start shows a welcome message and instructions on how to use the bot.
  • /add adds a new wallet to track transactions for. The wallet address must be provided in the correct format (starting with '0x' for ETH wallets and 'bnb' for BNB wallets), otherwise the bot will prompt the user to correct it. The added wallets are saved in a JSON file for persistence.
  • /remove removes a wallet from the list of tracked wallets. The user must provide the wallet address in the correct format.
  • /list shows the list of currently tracked wallets.

Features

  • Logging: the bot prompts every transaction and errors.
  • Format check: the bot checks that the wallet address provided by the user is in the correct format before adding it to the list of tracked wallets.

Requirements

To run the bot, you'll need to have Python 3.6 or later installed on your system, along with the following Python libraries:

  • requests (for making HTTP requests to the APIs)
  • web3 (for interacting with the Ethereum blockchain)

You'll also need to obtain API keys for Etherscan and BSCscan, as well as a Telegram bot token. These can be obtained by following the instructions on the respective websites.

Installation

  1. Clone this repository: git clone https://github.com/cankatx/crypto-wallet-tracker.git

  2. Install the required packages: pip install -r requirements.txt

  3. Replace the following placeholders in the main.py file with your API keys and bot token:

    ETHERSCAN_API_KEY = '<your_etherscan_api_key>'
    BSCSCAN_API_KEY = '<your_bscscan_api_key>'
    TELEGRAM_BOT_TOKEN = '<your_telegram_bot_token>'
    TELEGRAM_CHAT_ID = '<your_telegram_chat_id>'
  4. Start the bot: python main.py

Screenshots

Disclaimer

This bot is provided for educational purposes only and should not be used as financial advice. The bot does not have access to your wallet.

crypto-wallet-tracker's People

Contributors

can-kat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

crypto-wallet-tracker's Issues

software doesnt work

hi, help me please
im have macbook, and i dont know how it this software work i install paython 3.12 and i dont know how to add and what i need add . can u please help me step by step
thanks

TypeError on Line 219: Unexpected Keyword Argument 'token'

While using the script found in the "crypto-wallet-tracker/main.py" file, I encountered a TypeError on line 219. The error message indicated that the Updater.init() method received an unexpected keyword argument 'token'.
The error message :/crypto-wallet-tracker/main.py", line 219, in <module> updater = Updater(token=TELEGRAM_BOT_TOKEN, use_context=True) TypeError: Updater.__init__() got an unexpected keyword argument 'token'
The TypeError is raised because the 'token' keyword argument is not expected or is not properly handled in the init() method of the Updater class. This issue is preventing me from proceeding further with the script execution.

To assist with troubleshooting, could you kindly clarify if there have been recent updates or changes to the Updater class that might have removed or renamed the 'token' parameter? I'm using the latest version of your script and all dependencies are up to date.

Thank you for your help!

good project

I really liked the project, it can monitor the token, how much is being bought and sold of a specific token, I added the token to the monitoring, it can only capture contract approvals

help

i cant no where find this OPEN BOT PAYTHON MAIN PY....

where i find this, i dont ud erstan

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.