npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@kamino-finance/kliquidity-sdk

v12.0.1

Published

Typescript SDK for interacting with the Kamino Liquidity (kliquidity) protocol

Downloads

58,657

Readme

npm

Kamino Liquidity SDK

Typescript SDK for integrating with Kamino Liquidity (automated CLMM vaults) on Solana. Kamino manages concentrated liquidity positions across Orca Whirlpools, Raydium CLMM, and Meteora DLMM, handling automatic rebalancing, fee compounding, and reward collection.

Quick Start

npm install @kamino-finance/kliquidity-sdk @solana/kit decimal.js
import { Kamino } from '@kamino-finance/kliquidity-sdk';
import { createSolanaRpc } from '@solana/kit';

const rpc = createSolanaRpc('https://api.mainnet-beta.solana.com');
const kamino = new Kamino('mainnet-beta', rpc);

// List all live strategies
const strategies = await kamino.getAllStrategiesWithFilters({ strategyCreationStatus: 'LIVE' });

// Get share price for a strategy
const sharePrice = await kamino.getStrategySharePrice(strategies[0].address);
console.log('Share price:', sharePrice.toString());

Documentation

| Document | Description | |----------|-------------| | Overview | Core concepts, installation, and SDK setup | | Reading Strategies | List strategies, get metrics, balances, and ranges | | Deposits | Both-sided and single-sided deposits | | Withdrawals | Partial and full share withdrawals | | Positions & PnL | User positions, fees, rewards, strategy holders | | REST API Reference | Kamino Public API endpoints | | API Response Types | TypeScript interfaces for API responses | | SDK Types | SDK type reference | | FAQ | Common questions |

Examples

See the examples/ directory for runnable code. Setup:

cd examples
yarn install
export RPC_ENDPOINT=YOUR_RPC_URL_HERE

| Example | Run | Description | |---------|-----|-------------| | Read strategy | yarn read-strategy | Strategy data, share price, token balances | | Read positions | yarn read-positions | User positions and USD values | | Strategy APY | yarn strategy-apy | APR/APY, position range, pool price | | Strategy holders | yarn strategy-holders | All holders of a strategy | | Deposit & stake | yarn deposit-and-stake | Deposit tokens and stake in farm | | Unstake & withdraw | yarn unstake-and-withdraw | Unstake from farm and withdraw |

Development

Codegen

Copy the new idl from the kamino-liquidity program to src/kamino-client/idl.json:

yarn codegen:kliquidity

Setup localnet

Ensure deps contains the correct .so you want to test against. Either build it from the main repo or dump it from mainnet:

yarn start-validator

Run tests

yarn start-validator-and-test
# Or, if the local validator is already running:
yarn test

Sync with smart contracts

yarn
solana program dump 6LtLpnUFNByNXLyCoK9wA2MykKAmQNZKBdY8s47dehDc -u m deps/kamino.so
yarn codegen