> For the complete documentation index, see [llms.txt](https://docs.peach.ag/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.peach.ag/documentation/arc/launchpad/launchpad-pro/quickstart.md).

# Quickstart

This guide uses Arc Testnet (`5042002`) and `@masterpeach/launchpad-sdk@0.0.0-experimental-20261104025800`. Import Pro APIs from `/v2`. The included deployment preset selects the Core, V7 ABI and compatible Distributor contracts.

### 1. Install

Use Node.js 20 or newer. The SDK requires `viem` version 2.45 or newer, below 3.

```sh
pnpm add @masterpeach/launchpad-sdk@0.0.0-experimental-20261104025800 viem@^2.45.0
```

### 2. Connect and check the deployment

```ts
import { createPublicClient, http } from "viem";
import {
  arcTestnetLaunchpadV2Deployment,
  createLaunchpadV2Client,
  verifyLaunchpadV2Deployment,
} from "@masterpeach/launchpad-sdk/v2";

const publicClient = createPublicClient({
  transport: http("https://rpc.testnet.arc.io"),
});
const client = createLaunchpadV2Client({
  publicClient,
  deployment: arcTestnetLaunchpadV2Deployment,
});

const blockNumber = await client.snapshotBlock();
await verifyLaunchpadV2Deployment(client, { blockNumber });
const launchConfigId = 0n;
const launchFee = await client.contract("configRegistry")
  .read("launchConfigFee", [launchConfigId], { blockNumber });
const feeToken = await client.contract("factory")
  .read("launchFeeToken", [], { blockNumber });
```

`launchFee` is in the fee token's raw units. Read the current configuration before creating a token; network gas and any first buy are separate costs. For transactions, create a client with the connected `walletClient` as well. Its account and network must match the operation.

### 3. Preview and create

Use [Token Creation](https://docs.peach.ag/documentation/arc/launchpad/launchpad-pro/core-features/token-creation) to preview the request and funding. Show the user the buy/sell Creator Tax, fees and protection choice. Default `protectionDays` to `0`; allow integer days from `1` to `365`. Current protection rules are empty, so no transfer restriction applies even when a nonzero period is selected. Approve the required assets, confirm approval receipts, prepare and submit creation, then wait for a successful receipt.

The SDK preview pins the current economics and protection hash. Review the returned request; if either changes, refresh the preview and ask the user to confirm again. An approval is permission to spend, not a payment.

### 4. Continue from the confirmed state

Trade on the Curve while it is open. After reserves are swept, [create the V4 pool](https://docs.peach.ag/documentation/arc/launchpad/launchpad-pro/core-features/graduation) and confirm it is active before routing V4 swaps. If a transaction is pending, resolve its hash before retrying.

For optional shared Creator revenue, see [Revenue Distribution](https://docs.peach.ag/documentation/arc/launchpad/launchpad-pro/core-features/revenue-distribution).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.peach.ag/documentation/arc/launchpad/launchpad-pro/quickstart.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
