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.
@jup-ag/core
Advanced tools
Jupiter Aggregator (jup.ag)
The best swap aggregator on Solana. Built for smart traders who like money.
This repo is Jupiter Core SDK.
For Node, or build your own lib, use Jupiter Core Example
The quickest way to integrate Jupiter with your UI, use Jupiter React Hook instead
Checkout Jupiter React Native Example
Yarn
yarn add @jup-ag/core
NPM
npm install @jup-ag/core
Initialize and load Jupiter instances
Get routeMap, which maps each tokenMint and their respective tokenMints that are swappable
Request Jupiter to compute the requested inputToken and outputToken, to query possible pairs, routes, amounts, slippage and more information.
FAQs
![1*cXNgzu0Pvj4HwOLw4Akwqg](https://user-images.githubusercontent.com/34560707/145749257-e48cb199-521b-476e-9d81-f79bb45ef834.png)
The npm package @jup-ag/core receives a total of 1,521 weekly downloads. As such, @jup-ag/core popularity was classified as popular.
We found that @jup-ag/core demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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.