UNPKG

@hubbleprotocol/farms-sdk

Version:
22 lines (15 loc) 548 B
# Farms SDK Farms SDK is a TypeScript client SDK for easy access to the Farms on-chain data. ## How to install the SDK [![npm](https://img.shields.io/npm/v/@hubbleprotocol/farms-sdk)](https://www.npmjs.com/package/@hubbleprotocol/farms-sdk) ```shell npm install @solana/web3.js decimal.js @hubbleprotocol/farms-sdk ``` ```shell npm update @hubbleprotocol/farms-sdk ``` ## How to use the SDK ```typescript // Initialize the client and then you can use it to fetch data by calling it const farmsClient = new Farms(env.provider.connection); ```