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

@jet-lab/jet-engine

Package Overview
Dependencies
Maintainers
5
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jet-lab/jet-engine

Library for interacting with the Jet on-chain programs

  • 0.3.8
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
67
increased by3250%
Maintainers
5
Weekly downloads
 
Created
Source

@jet-lab/jet-engine

Version Docs Discord License

Install

Add the package as a dependency to your project:

$ npm i @jet-lab/jet-engine

...or with yarn

$ yarn add @jet-lab/jet-engine

Usage

View the typedocs for the full package documentation and available API.

Instantiate the Client

import { JetClient } from '@jet-lab/jet-engine'
import { Provider, Wallet } from '@project-serum/anchor'
import { clusterApiUrl, Connection, Keypair } from '@solana/web3.js'

const provider = new Provider(new Connection(clusterApiUrl('devnet')), new Wallet(Keypair.generate()), {})
const client = await JetClient.connect(provider, true)

Examples

Fetching a position

Contributors ❤️

Keywords

FAQs

Package last updated on 07 Jun 2022

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