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

# TypeScript Getting Started

> Use the application-local Anchor client. There is no published package yet.

```ts theme={null}
import { getVannaProgram } from "@/lib/solana/protocol";
import { marginPda, reservePda, protocolConfigPda } from "@/lib/solana/pdas";
import { VANNA_PROGRAM_ID, ASSETS } from "@/lib/solana/config";

const program = getVannaProgram(true); // wallet-connected
const [margin] = marginPda(owner);
const [reserve] = reservePda(ASSETS.TSLAx.mint);
```

IDL: `Backend-Solana/idl/vanna_lending.json`. After a program change, rebuild and copy the IDL.

Read [Transaction Flow](/developers/sdk/transaction-flow) before sending. Always simulate.
