Skip to content

Version 1.1.0

Choose a tag to compare

@fled-dev fled-dev released this 18 Dec 17:51
· 52 commits to main since this release
f862a08

What's Changed

  1. Enhanced Import Statements: Added imports for requests and urllib.request, expanding the functionality for network operations and external requests.

  2. Configuration Updates:

    • Introduced new variables valid_api_keys, api_key, and channel_id for API key validation and Telegram integration.
    • Automated host IP detection using urllib.request.urlopen.
  3. Telegram Notifications:

    • Implemented a tg_notify function for sending notifications to a specified Telegram channel using the Telegram Bot API.
    • Integrated Telegram notifications at various stages of the API process, including connection attempts, wallet creation, and sweeping outcomes.
  4. IP Location Tracking:

    • Added the ip_location function to determine the geographical location of the IP address making the API request.
    • Used requests.get to fetch location data from an external IP location service.
  5. Enhanced API Endpoint (/api) Functionality:

    • Improved error handling with redirection to http://www.blockchain.com for specific failure scenarios.
    • Introduced detailed logging of errors and critical events in logfile.txt.
    • Enhanced security checks for valid API keys and handling unauthorized access attempts.
  6. Sweep Function Improvements:

    • The sweep function now includes enhanced error handling and logging.
    • Added notifications for different stages of the wallet sweeping process, including wallet creation, success, and failure scenarios.
  7. Dynamic Host and Port Configuration for Flask App:

    • Flask app now automatically determines the host IP and sets the port to '5000'.
    • Error handling for Flask server startup issues with logging and Telegram notification.
  8. Overall Error Handling and Logging Enhancements:

    • Improved overall robustness with comprehensive error capturing and handling mechanisms.
    • Systematic logging of critical errors and operational information in logfile.txt and via Telegram notifications.
      Full Changelog: v1.0.0...v1.1.0