Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
crypto-price-alert
Advanced tools
The Cryptocurrency Price Alert script is a Node.js utility designed to monitor the price of a specified cryptocurrency and notify the user when the price crosses predefined upper or lower thresholds. This real-time monitoring tool helps users stay informe
The Cryptocurrency Price Alert script is a Node.js utility designed to monitor the price of a specified cryptocurrency and notify the user when the price crosses predefined upper or lower thresholds. This real-time monitoring tool helps users stay informed about significant price movements without the need to constantly check online exchanges or market data platforms.
Before you can run this script, ensure you have the following installed:
Clone the repository or download the source code to your local machine.
git clone https://github.com/0xshibu/Crypto-Price-Alert.git
cd Crypto-Price-Alert
Install dependencies by running the following command in your project directory:
npm install
To use the script, you need to specify the cryptocurrency you want to monitor and the upper and lower price thresholds for alerts. These can be set directly in the script or passed as command-line arguments (if you implement this functionality).
Start the script by running:
node cryptoPriceAlert.js
Monitor the console for real-time price updates and alerts.
Adjust thresholds as needed by editing the script or implementing a method to accept user inputs.
To monitor a different cryptocurrency or change the frequency of price checks:
coinId
variable for different cryptocurrencies.setInterval
duration for different update frequencies.node-fetch
: Used to make HTTP requests to the CoinGecko API for price data.node-notifier
: Used for sending desktop notifications when price thresholds are crossed.Contributions to the Cryptocurrency Price Alert script are welcome! Whether it's feature suggestions, bug reports, or code contributions, please feel free to make a pull request or open an issue.
This script is provided as-is for educational purposes only. Please use responsibly and at your own risk.
FAQs
The Cryptocurrency Price Alert script is a Node.js utility designed to monitor the price of a specified cryptocurrency and notify the user when the price crosses predefined upper or lower thresholds. This real-time monitoring tool helps users stay informe
The npm package crypto-price-alert receives a total of 1 weekly downloads. As such, crypto-price-alert popularity was classified as not popular.
We found that crypto-price-alert demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.