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

# Introduction

> KasFun - Token launchpad on Kasplex with Bonding Curve trading

## What is KasFun?

KasFun is a token launchpad built on the **Kasplex** EVM chain. Anyone can create a token and trade it through a **Bonding Curve** mechanism. Once a token reaches its fundraising goal, liquidity is automatically migrated to [Krokoswap](https://krokoswap.io/) DEX.

## How It Works

**1. Create a Token**

Anyone can launch a new token via the MemeFactory contract. Each token starts with an internal Bonding Curve market.

**2. Trade on Bonding Curve**

Users buy and sell the token using KAS. The price follows a constant-product curve — early buyers get lower prices.

**3. Graduation**

When the KAS reserves in the pool reach the graduation threshold, the token "graduates". Trading on the internal market stops.

**4. DEX Migration**

Liquidity is automatically migrated to Krokoswap DEX for open market trading.

## Core Concepts

> [card] Bonding Curve
>
> A constant-product formula (`x * y = k`) determines the token price. As more KAS flows in, the price rises.

> [card] Graduation
>
> Each token has a fundraising target. Once reached, the bonding curve is complete and liquidity moves to DEX.

> [card] Community Governance (CTO)
>
> After graduation, token holders can elect a Council, create proposals, and vote on community decisions.

> [card] All On-Chain
>
> Token creation, trading, elections, and voting are all executed through smart contracts on Kasplex.

## Contract Architecture

KasFun uses three core contracts:

| Contract | Purpose |
| - | - |
| **MemeFactory** | Token creation, buy/sell trading, token info queries |
| **BondingCurve** | Price calculation (pure math functions) |
| **Council V1** | Community governance — elections, proposals, voting |

> [!NOTE]
>
> All amounts in the contracts use **18 decimals** (wei). `1 KAS = 1e18 wei`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.