Security News
The Push to Ban Ransom Payments Is Gaining Momentum
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
cryptocurrency-address-detector
Advanced tools
Readme
Detect which cryptocurrency an address corresponds to.
~ ❯❯❯ npm install cryptocurrency-address-detector
const addressDetect = require('cryptocurrency-address-detector');
addressDetect('0x281055afc982d96fab65b3a49cac8b878184cb16').then(cryptocurrency => {
console.log(cryptocurrency);
//=> 'ETH'
});
addressDetect('1dice8EMZmqKvrGE4Qc9bUFf9PX3xaYDp').then(cryptocurrency => {
console.log(cryptocurrency);
//=> 'BTC/BCH'
});
addressDetect('LQL9pVH1LsMfKwt82Y2wGhNGkrjF8vwUst').then(cryptocurrency => {
console.log(cryptocurrency);
//=> 'LTC'
});
addressDetect('0xsfdlffsjksldfj[IPv6:2001:db8::2]').then(cryptocurrency => {
console.log(cryptocurrency);
//=> 'Cryptocurrency could not be detected'
});
Returns the cryptocurrency that an address corresponds to.
Type: string
Address to check for popular cryptocurrencies.
Type: number
Timeout in milliseconds after which a request is considered failed. Default: 5000
.
Bitcoin/BTC
& Bitcoin Cash/BCH
Ethereum/ETH
Litecoin/LTC
Monero/XMR
Dash/DASH
Ripple/XRP
NEO/NEO
Dogecoin/DOGE
MIT © Nikolaos Kamarinakis
FAQs
Detect which cryptocurrency an address corresponds to.
We found that cryptocurrency-address-detector demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Security News
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
Application Security
New SEC disclosure rules aim to enforce timely cyber incident reporting, but fear of job loss and inadequate resources lead to significant underreporting.
Security News
The Python Software Foundation has secured a 5-year sponsorship from Fastly that supports PSF's activities and events, most notably the security and reliability of the Python Package Index (PyPI).