# Example launch

One ETH launch on Robinhood Chain, config `0`, with Hoodie fee distribution and Whale Hit. Replace the creator, payout, direct recipient, and keeper addresses before sending. Read `expectedEconomics` again at send time. The value below was read from the PONS factory on 2026-10-03.

## What the creator is launching

| Field | Value |
|---|---|
| Chain | Robinhood Chain, id `4663` |
| Name | Hoodie Example |
| Symbol | HEX |
| Logo | `https://example.com/hoodie-example.png` |
| Description | Example token launched with Hoodie fee distribution and Whale Hit. |
| X | `https://x.com/hoodieexample` |
| Telegram | `https://t.me/hoodieexample` |
| Website | `https://example.com` |
| Pair | ETH (`0x0000000000000000000000000000000000000000`) |
| Launch config | `0` |
| Curve supply | 1,000,000,000 tokens |
| Curve fee | 100 bps (1%) |
| Graduation | 4.2 ETH |
| Creator tax | 15 bps (0.15% protocol tax, 0.70% creator fee) |
| Creator buy | 0.01 ETH |
| Launch fee | 0.0005 ETH |
| ETH sent with the transaction | 0.0105 ETH |
| Salt | `0xabababababababababababababababababababababababababababababababab` |

## Fee split

Shares are basis points of the creator side. 10000 is the whole creator side.

| Destination | Share |
|---|---|
| Holders (community) | 2500 (25%) |
| Buyback | 2500 (25%) |
| Direct wallet `0x5555555555555555555555555555555555555555` | 1000 (10%) |
| Creator payout `0x1111111111111111111111111111111111111111` | the remaining 4000 (40%) |

`settingsHash` stored with this split:

`0xe55f9305d4a5b768af2c804de8b453a55c2998cced58f676161884a931d69f80`

Whale Hit pays the launched token from its reward reserve.

## Keepers

These three addresses are placeholders. Use Hoodie's keepers when Hoodie runs claims and Whale Hit, or your own when your platform sends those transactions.

| Job | Address |
|---|---|
| Auto-claim | `0x2222222222222222222222222222222222222222` |
| Community, buyback, and Whale Hit | `0x3333333333333333333333333333333333333333` |
| Cost-escrow attestor | `0x4444444444444444444444444444444444444444` |

## Call

```js
import { buildLaunchTransaction } from "./encodeLaunch.mjs";

const tx = buildLaunchTransaction({
  creator: "0x1111111111111111111111111111111111111111",
  name: "Hoodie Example",
  symbol: "HEX",
  logo: "https://example.com/hoodie-example.png",
  description: "Example token launched with Hoodie fee distribution and Whale Hit.",
  socials: {
    twitter: "https://x.com/hoodieexample",
    telegram: "https://t.me/hoodieexample",
    website: "https://example.com",
  },
  salt: "0xabababababababababababababababababababababababababababababababab",
  launchConfigId: 0n,
  pairToken: "0x0000000000000000000000000000000000000000",
  expectedEconomics: "0xa9fc75d4203a33fe660e8fa32c74c3aa41c1fda4bf23d3a39b6bc22a1f8b1ca7",
  creatorTaxBps: 15,
  quoteIn: 10_000_000_000_000_000n,
  minTokensOut: 0n,
  snipeTaxExemptions: [],
  valueWei: 10_500_000_000_000_000n,
  keepers: {
    autoClaim: "0x2222222222222222222222222222222222222222",
    community: "0x3333333333333333333333333333333333333333",
    attestor: "0x4444444444444444444444444444444444444444",
  },
  split: {
    payoutWallet: "0x1111111111111111111111111111111111111111",
    communityBps: 2500,
    buybackBps: 2500,
    settingsHash: "0xe55f9305d4a5b768af2c804de8b453a55c2998cced58f676161884a931d69f80",
    directRecipients: [
      { address: "0x5555555555555555555555555555555555555555", bps: 1000 },
    ],
  },
  whaleHit: { reward: "own-token" },
});
```

`quoteIn` is 0.01 ETH. `valueWei` is that buy plus the 0.0005 ETH launch fee.

## Contracts this launch creates

Send the transaction to HoodieCreate v5 `0x3CDB4956CD35F8b865cc3E682a10906773DBe1Df`. For the salt and creator above, the created contracts are:

| Contract | Address |
|---|---|
| Fee vault V11 | `0xBc9Fcc4Dd4fDAe4Deb70F318b6984489879574f0` |
| Cost escrow V5 | `0x0BffA90dD6f0B2274Bc4E7358783d2Facfbb7f7a` |
| Whale budget V5 | `0xd60cBA3e2Ace9D2dD666d7CccDd114B1f4060207` |
| Distribution factory | `0xd67D2EBA0D3172D43DBe41F76a7bD85357F9d1C5` |

The reward reserve address is created inside the same transaction. The token address is in the `Launched` event on HoodieCreate.

`expectedEconomics` must match `previewLaunchEconomics(0, 0x0000000000000000000000000000000000000000)` on the factory at the moment of the launch. If that call returns a different bytes32, use the new one. The vault, cost escrow, and whale addresses stay the same as long as the creator, salt, tax, split, and pair stay the same.
