Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@jup-ag/core

Package Overview
Dependencies
Maintainers
6
Versions
193
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jup-ag/core

![1*cXNgzu0Pvj4HwOLw4Akwqg](https://user-images.githubusercontent.com/34560707/145749257-e48cb199-521b-476e-9d81-f79bb45ef834.png)

  • 4.0.0-beta.20
  • npm
  • Socket score

Version published
Weekly downloads
1.2K
increased by1.45%
Maintainers
6
Weekly downloads
 
Created
Source

Jupiter Aggregator Core typescript library

1*cXNgzu0Pvj4HwOLw4Akwqg

Jupiter Aggregator (jup.ag)
The best swap aggregator on Solana. Built for smart traders who like money.


This repo is Jupiter Core SDK.

Example

For Node, or build your own lib, use Jupiter Core Example

Integrate with React instead?

The quickest way to integrate Jupiter with your UI, use Jupiter React Hook instead

React Native?

Checkout Jupiter React Native Example

Installation

Yarn

yarn add @jup-ag/core

NPM

npm install @jup-ag/core



Jupiter.load()

Initialize and load Jupiter instances

jupiter.getRouteMap()

Get routeMap, which maps each tokenMint and their respective tokenMints that are swappable

jupiter.computeRoutes()

Request Jupiter to compute the requested inputToken and outputToken, to query possible pairs, routes, amounts, slippage and more information.

FAQs

Package last updated on 22 Jun 2023

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc