New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

flash-sdk-dev

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flash-sdk-dev

Client to interact with the Flash program on Solana

latest
Source
npmnpm
Version
1.0.12
Version published
Weekly downloads
2
100%
Maintainers
1
Weekly downloads
 
Created
Source

Flash SDK

Client SDK for interacting with FLASH.TRADE's smart-contracts

Install

npm i flash-sdk / yarn add flash-sdk 

Using the SDK

connect sdk locally

` import { AnchorProvider } from "@coral-xyz/anchor";

const provider : AnchorProvider = AnchorProvider.local(clusterUrl, { commitment: "confirmed", preflightCommitment: "confirmed", skipPreflight: true }); client = new PerpetualsClient(provider, programId); `

To fetch all the pool data

FAQs

Package last updated on 28 Dec 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