flash-sdk-multi-pool
v1.0.130
Published
Client to interact with the Flash program on Solana
Downloads
2
Readme
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); `