> ## Documentation Index
> Fetch the complete documentation index at: https://docs.exponent.finance/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

> TypeScript SDK instruction functions for Exponent Core

# Exponent Core Vault Instructions

These are the instruction builders provided by the `Vault` class. They handle account resolution, address lookup tables, and CPI routing automatically.

<Tip>
  For low-level control, see the [raw Codama-generated instructions](/yield-stripping/raw-instructions/overview) which require manual account resolution.
</Tip>

## Installation

```bash theme={null}
npm install @exponent-labs/exponent-sdk @solana/web3.js
```

All instructions are methods on the `Vault` class:

```typescript theme={null}
import { Vault, LOCAL_ENV } from "@exponent-labs/exponent-sdk";

const vault = await Vault.load(LOCAL_ENV, connection, vaultAddress);
```

## Strip & Merge

<CardGroup cols={2}>
  <Card href="/developer-core/typescript/instructions/ix-strip-from-base" title="Strip from Base">
    Convert a base asset into PT and YT in a single step by wrapping to SY and stripping through the vault.
  </Card>

  <Card href="/developer-core/typescript/instructions/ix-merge-to-base" title="Merge to Base">
    Merge PT and YT back into the base asset, handling the unwrap flow from SY automatically.
  </Card>

  <Card href="/developer-core/typescript/instructions/ix-strip" title="Strip (SY)">
    Strip SY directly into PT and YT when the caller already holds standardized yield tokens.
  </Card>

  <Card href="/developer-core/typescript/instructions/ix-merge" title="Merge (to SY)">
    Merge PT and YT back into SY without converting back to the base asset.
  </Card>
</CardGroup>

## Yield Position Management

<CardGroup cols={2}>
  <Card href="/developer-core/typescript/instructions/ix-initialize-yield-position" title="Initialize Yield Position">
    Create the yield position account used to escrow YT and track exchange-rate-based yield accrual.
  </Card>

  <Card href="/developer-core/typescript/instructions/ix-collect-interest" title="Collect Interest">
    Claim accrued interest from a yield position after yield has been staged.
  </Card>

  <Card href="/developer-core/typescript/instructions/ix-collect-emission" title="Collect Emission">
    Claim any accrued emissions or reward tokens associated with the yield position.
  </Card>
</CardGroup>

<Note>
  For depositing/withdrawing YT and staging yield, see the [YtPosition Instructions](/developer-core/typescript/yt-instructions/overview).
</Note>
