open-index/open-npm huggingface dataset:
npm package: @kamino-finance/distributor-sdk
Description: Kamino Distributor SDK
Author: Kamino Finance
Latest version: 0.5.3

# Distributor SDK

Distributor SDK is a TypeScript client SDK used to interact with the distributor contract

## How to install the SDK

[![npm](https://img.shields.io/npm/v/@hubbleprotocol/distributor-sdk)](https://www.npmjs.com/package/@hubbleprotocol/distributor-sdk)

```shell
yarn add @hubbleprotocol/distributor-sdk
```

```shell
yarn update @hubbleprotocol/distributor-sdk
```

## How to use the SDK

```typescript
// Initialize the client and then you can use it to fetch data by calling it
const distributorClient = new Distributor(env.provider.connection);

// To check wether tokens are claimable 
// merkleDistributorPublicKey - should be taken from the api
const isClaimable = await distributorClient.isClaimable(merkleDistributorPublicKey);

// To check wether tokens have been already claimed or not for a specific user
// merkleDistributorPublicKey - should be taken from the api
// userAddress - the address that is claiming
const userClaimed = await distributorClient.userClaimed(merkleDistributorPublicKey, userAddress);

// To get a new claim ixn - this includes the ATA creation ixn if it's needed
// merkleDistributorPublicKey - should be taken from the api
// userAddress - the address that is claiming
// amountLamports - should be taken from the api (it has to match the value from the api - can't do partial claim)
// proof - should be taken from the api
const newClaimIxn = await distributorClient.getNewClaimIx(merkleDistributorPublicKey, userAddress, amountLamports, proof);
```
npm package: @kamino-finance/kamino-db
Description: Kamino database models
Author: Kamino Finance
Latest version: 8.1.8

# Kamino Database

The Kamino database project contains common database models used across multiple npm projects.

## Install

[![npm](https://img.shields.io/npm/v/@kamino-finance/kamino-db)](https://www.npmjs.com/package/@kamino-finance/kamino-db)

```shell
npm install @kamino-finance/kamino-db
```
npm package: @kamino-finance/react-ui
Description: Reusable React UI components to integrate web3 alerts.
Latest version: 2.1.5

# Dialect React UI

Reusable React UI components to integrate web3 alerts.

## Prerequisites

— [Inter](https://fonts.google.com/specimen/Inter) font imported.

For example via `<link>` tag

```html
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="true" />
<link
  href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap"
  rel="stylesheet"
/>
```

— Import compiled styles into your app's entrypoint

```typescript
import '@dialectlabs/react-ui/index.css';
```

## Development

See root README.

## Build

```shell
npm run build
```

This would generate a production version of `@dialectlabs/react-ui`