Farms SDK is a TypeScript client SDK for easy access to the Farms on-chain data.
npm install @solana/web3.js decimal.js @hubbleprotocol/farms-sdk
npm update @hubbleprotocol/farms-sdk
// Initialize the client and then you can use it to fetch data by calling it
const farmsClient = new Farms(env.provider.connection);