1.0.26 • Published 8 months ago
flash-sdk-v2 v1.0.26
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
1.0.26
8 months ago