Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
e-04-kencrypto
Advanced tools
Get the current quote and conversions of your favorite cryptos, based on the [coinmarketcap api](https://coinmarketcap.com/api/).
Get the current quote and conversions of your favorite cryptos, based on the coinmarketcap api.
First of all, you need to go to their website, sign in and get your personal key. Then put it on the .env fileOfficial Site.
$ npm i KenCrypto
$ yarn add KenCrypto
js import { Kencrypto } from "kencryto";
Create an instance:
js const hcryptocvn = new hCryptoCvn(API_KEY)
With that instance u can use two methods:
Inside an array you can use an string with the crypto sign.
js hcryptocvn.quotes(['BTC'])
The return is a promise where u can get the response with then()
example:
js hcryptocvn.quotes(['BTC']).then((response) => { const { data, status } = response console.log(data) });
The conversion receive 3 parameters: first parameter is the crypto sign to conversion, the second is the value of the conversion and e the third is an array with the signs to be converted.
js hcryptocvn.conversion('BTC', 0.010, ['ETC'])
Also the response is a promise where u can get the response with then()
example:
js hcryptocvn.conversion('BTC', 0.010, ['ETC']).then((response) => { const { data, status } = response console.log(data) });
-TypeScript
FAQs
Get the current quote and conversions of your favorite cryptos, based on the [coinmarketcap](https://coinmarketcap.com/api/) api.
The npm package e-04-kencrypto receives a total of 0 weekly downloads. As such, e-04-kencrypto popularity was classified as not popular.
We found that e-04-kencrypto 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
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
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.