# create token

Launching a token on Durianfun takes 3 stages and about 30 seconds.

## Before you start

You need:

* A connected wallet with at least **\~0.25 KUB** (0.1 KUB deployment cost + \~0.15 KUB gas)
* A token name and ticker (ticker = 1-10 uppercase letters/digits)
* Optional: an image (auto-cropped to 200×200 JPEG)

{% stepper %}
{% step %}

### Token Info

Go to [durianfun.xyz/create](https://durianfun.xyz/create).

| Field           | Example                    | Notes                             |
| --------------- | -------------------------- | --------------------------------- |
| **Token name**  | `Durian King`              | Max 50 characters                 |
| **Ticker**      | `DKING`                    | Max 10 characters, uppercase auto |
| **Description** | `The tastiest king on KUB` | Max 280 characters (optional)     |

Click **Next: add image →**
{% endstep %}

{% step %}

### Image

Drag & drop or click to upload any image. Durianfun will:

* Auto-crop to a 1:1 square (center crop)
* Resize to 200×200 pixels
* Compress to JPEG quality 80
* Auto-rotate based on EXIF orientation (fixes mobile photos)
* Fill transparent pixels with white background

Max input: **10 MB raw file**. Final output: **\~10 KB** stored on-chain in your token contract.

{% hint style="info" %}
**Animated GIFs** are accepted but only the first frame is captured. If animation is critical, use a static image.
{% endhint %}

Alternative: paste any image URL or IPFS URI (`https://...` or `ipfs://...`) and it will be used as-is (no processing, no size limit, but depends on external hosting).

Click **Next: review →**
{% endstep %}

{% step %}

### Review & Launch

You'll see a summary:

| Field                  | Value                               |
| ---------------------- | ----------------------------------- |
| Deployment gas cost    | 0.1 KUB                             |
| Base token             | KUB                                 |
| Total supply           | 1,000,000,000                       |
| Graduation threshold   | automatic based on raised liquidity |
| Bonding curve contract | Durianfun V4.5 (Main)               |

Click **🚀 Launch Token**. Your wallet will prompt for a transaction (\~0.1-0.15 KUB total).
{% endstep %}
{% endstepper %}

## What happens on-chain

Your click triggers a single atomic transaction that:

1. Charges 0.1 KUB → sent to Durianfun treasury (anti-spam)
2. Deploys a new **BondingCurveMarket** contract unique to your token
3. Deploys a new **ERC-20 token contract** with 1 billion supply minted to the market
4. Registers your token in the factory's index
5. Emits a `TokenCreated` event — indexers pick it up immediately

You're redirected to your token's page at `/token/<address>` once confirmed (\~3 seconds on KUB Chain).

## Creator earnings explained

From the moment your token exists:

* **Every trade pays you 0.167% of the trade size, instantly, in KUB.** No staking. No claim. Direct transfer to your wallet on every buy and sell.
* When your token **graduates**, you receive an **extra 10 KUB bonus** automatically.

After graduation, the creator rebate stops (AMM fees go to treasury + pool LP only), but your token becomes permanent and tradable forever.

## Tips for a good launch

* **Ticker matters** — short, memorable, all-caps. `DKING` beats `DurianKingToken`.
* **Image matters** — memes with strong visual identity get traded more.
* **Share to your community first** — don't rely on chart watchers alone.
* **Description is your pitch** — 280 chars to sell a vibe.


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://durianandfun.gitbook.io/durianfun/durian-launchpad/getting-started/create-token.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
