
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
bitcoin-de-api
Advanced tools
A (very) simple javascript wrapper for the (very) simple bitcoin.de api
A (very) simple javascript wrapper for the (very) simple bitcoin.de api.
npm install --save bitcoin-de-api
npm run test
Test runs will have different outputs depending on whether or not an API_KEY
was set in .env
(see 'Usage' below).
Create a .env file at the root of your project and add your API_KEY:
API_KEY=your_api_key_goes_here_without_quotes
Add .env to your .gitignore file! It's a secret, right?! See dotenv if you are not sure what I am talking about.
const api = require('bitcoin-de-api')
const dotenv = require('dotenv')
dotenv.config() // parses .env and sets environnment variables
const apiKey = process.env.API_KEY
api.getTrades(apiKey, since) // since parameter is optional
.then(data => {
// do stuff with the data here
console.log(data)
})
.catch( err => {
console.error(err)
})
method | returns |
---|---|
getTrades() | promise |
getOrderBook() | promise |
getRate() | promise |
Copyright 2016 Matthias Munder.
Licensed under the MIT license.
FAQs
A (very) simple javascript wrapper for the (very) simple bitcoin.de api
The npm package bitcoin-de-api receives a total of 0 weekly downloads. As such, bitcoin-de-api popularity was classified as not popular.
We found that bitcoin-de-api 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
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.