@jet-lab/jet-engine
TypeScript icon, indicating that this package has built-in type declarations

0.3.8 • Public • Published

@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 ❤️

Package Sidebar

Install

npm i @jet-lab/jet-engine

Weekly Downloads

5

Version

0.3.8

License

AGPL-3.0-or-later

Unpacked Size

2.28 MB

Total Files

370

Last publish

Collaborators

  • jetjake
  • davodesign84
  • partiallysorted
  • loganjross
  • tristyn
  • callensm
  • suscd