Cyber security

Wallet Transaction Monitor: Real-time Bitcoin Updates & Alerts

This script monitors a Bitcoin wallet address and notifies the user when there are changes in the balance or new transactions.

It provides real-time updates on incoming and outgoing transactions, along with the corresponding amounts and timestamps.

Additionally, it can play a sound notification on Windows when a new transaction occurs

Changelog – 2023-07-10

  • Added the ability to monitor multiple Bitcoin wallets with custom names
  • Added option to save the information to a text file
  • More features will come within a couple of weeks

Requirements

Python 3.x requests library: You can install it by running pip install requests. winsound module: This module is available by default on Windows.

How To Run

  • Make sure you have Python 3.x installed on your system.
  • pip install -r requirements.txt
  • Clone or download the script file wallet_transaction_monitor.py from this repository.
  • Place the sound file (in .wav format) you want to use for the notification in the same directory as the script. Make sure to replace “soundfile.wav” in the script with the actual filename of your sound file.
  • Open a terminal or command prompt and navigate to the directory where the script is located.
  • Run the script by executing the following command:
python wallet_transaction_monitor.py

The script will start monitoring the wallet and display updates whenever there are changes in the balance or new transactions. It will also play the specified sound notification on Windows.

Important Notes

This script is designed to work on Windows due to the use of the winsound module for sound notifications.

If you are using a different operating system, you may need to modify the sound-related code or use an alternative method for audio notifications.

The script uses the Blockchain.info API to fetch wallet data. Please ensure you have a stable internet connection for the script to work correctly.

It’s recommended to run the script in the background or keep the terminal window open while monitoring the wallet.

Varshini

Varshini is a Cyber Security expert in Threat Analysis, Vulnerability Assessment, and Research. Passionate about staying ahead of emerging Threats and Technologies.

Recent Posts

groupdel Command in Linux: Remove a Group and Audit Files

The groupdel command in Linux removes a group from the system. It deletes the group's entry from /etc/group and /etc/gshadow,…

12 hours ago

wc Command in Linux: Count Lines, Words, Characters, and Bytes

The wc command in Linux counts lines, words, characters, and bytes in files or standard input. It…

12 hours ago

top Command in Linux: Monitor Processes and Resource Usage

The top command in Linux provides a real-time view of running processes and system resource usage. From…

12 hours ago

usermod Command in Linux: Modify User Accounts and Groups

The usermod command in Linux modifies existing user account attributes. You can use it to manage group…

12 hours ago

sort Command in Linux: Sort Text, Numbers, Columns, and More

The sort command in Linux reads lines from files or standard input and writes them to standard…

2 days ago

wall Command in Linux: Broadcast Messages to Logged-In Users

The wall command in Linux sends a message to the terminals of all currently logged-in users. The…

2 days ago