Package Exports
- flash-sdk
- flash-sdk/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (flash-sdk) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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); `