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.
blockhain.info
Advanced tools
An official Node module for interacting with the Blockchain.info API.
Installation via npm:
$ npm install --save blockchain.info
Importing:
var blockchain = require('blockchain.info')
All functions in this module return a JavaScript promise for handling asynchronous actions.
This module consists of these submodules:
MyWallet
- Interact with or create a Blockchain Walletblockexplorer
- View data for addresses, blocks, transactions, and moreexchange
- Get real-time bitcoin exchange ratespushtx
- Push custom transactionsReceive
- Receive notifications for paymentsSocket
- Live notifications for transactions and blocksstatistics
- Fetch historical blockchain data and statisticsYou can access sub-modules from the properties of the imported main module, or by importing them individually.
Individual import:
var MyWallet = require('blockchain.info/MyWallet')
Property import:
var MyWallet = require('blockchain.info').MyWallet
This library supports Testnet for the blockexplorer
, pushtx
, and Socket
modules.
You can find examples of how to use each in the specific modules README file.
FAQs
A Node implementation for accessing the Blockchain.info API.
The npm package blockhain.info receives a total of 3 weekly downloads. As such, blockhain.info popularity was classified as not popular.
We found that blockhain.info demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.