open-index/open-npm huggingface dataset:
npm package: @jito-foundation/restaking-sdk
Description: TypeScript SDK for interacting with Jito's Restaking program on Solana
Latest version: 1.0.0

# Jito Restaking Client

A client for interacting with the Jito Restaking program.

## Installation

```bash
npm install @jito-foundation/restaking-sdk
```

or

```bash
yarn add @jito-foundation/restaking-sdk
```

## Example

### Fetch Restaking Config

```typescript
import { address, createSolanaRpc } from "@solana/kit";
import { fetchConfig } from "@jito-foundation/restaking-sdk";

const rpc = createSolanaRpc("https://api.devnet.solana.com");

const configPubkey = address("4vvKh3Ws4vGzgXRVdo8SdL4jePXDvCqKVmi21BCBGwvn");

const config = await fetchConfig(rpc, configPubkey);

console.log("Config: {}", config);
```
npm package: @jito-foundation/vault-sdk
Description: TypeScript SDK for interacting with Jito's Vault program on Solana
Latest version: 1.0.0

# Jito Restaking Client

A client for interacting with the Jito Vault program.

## Installation

```bash
npm install @jito-foundation/vault-sdk
```

or

```bash
yarn add @jito-foundation/vault-sdk
```

## Example

### Fetch vault config

```typescript
import { address, createSolanaRpc } from "@solana/kit";
import { fetchConfig } from "@jito-foundation/vault-sdk";

const rpc = createSolanaRpc("https://api.devnet.solana.com");

const configPubkey = address("UwuSgAq4zByffCGCrWH87DsjfsewYjuqHfJEpzw1Jq3");

const config = await fetchConfig(rpc, configPubkey);

console.log("Config: {}", config);
```