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

# Launchpad SDK

> Prepare native fair launches or external-token V2 graduation in one call.

```ts theme={null}
import manifest from "./config/chains/stable.json";
import { KovaSwap } from "@kovaswap/sdk";

const kova = new KovaSwap(manifest);

const launch = await kova.launchpad.prepareLaunch({
  name: "Kova Coin",
  symbol: "KOVA",
  devBuyAmount: 100n * 10n ** 6n,
  minimumTokens: 0n,
  metadata: {
    description: "Built on KovaSwap",
    website: "https://example.com",
  },
});

if (launch.approval) await approve(launch.approval);
const launchHash = await wallet.sendTransaction(launch);
```

`prepareLaunch` returns unsigned launch calldata and, when a dev buy is included, the exact canonical quote-asset approval. The factory enforces the fixed supply, opens curve trading, and handles automatic locked-liquidity V2 graduation.

## Graduate an existing token

```ts theme={null}
const graduation = await kova.pools.prepareGraduation({
  token: "0x1111111111111111111111111111111111111111",
  seedLiquidity: {
    tokenAmount: 1_000_000_000n * 10n ** 18n,
    quoteAmount: 25_000n * 10n ** 6n,
  },
  feeBps: 100,
  creator: "0x2222222222222222222222222222222222222222",
  slippageBps: 100,
});

const hash = await wallet.sendTransaction(graduation);
```

`prepareGraduation` validates the manifest fee tier, token pair, recipient, slippage, deployment address, and positive seed amounts. It returns `{ chainId, to, data, value, summary }`.

Neither call accepts a private key. Approval transactions and receipt verification remain the integrator’s responsibility.

<Info>
  The SDK is present in the source repository but is not yet published to a public package registry. Import it from the repository until an official package and version are listed here.
</Info>
