Skip to main content

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 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

Bonding Curve

A constant-product formula (x * y = k) determines the token price. As more KAS flows in, the price rises.

Graduation

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

Community Governance (CTO)

After graduation, token holders can elect a Council, create proposals, and vote on community decisions.

All On-Chain

Token creation, trading, elections, and voting are all executed through smart contracts on Kasplex.

Contract Architecture

KasFun uses three core contracts:
ContractPurpose
MemeFactoryToken creation, buy/sell trading, token info queries
BondingCurvePrice calculation (pure math functions)
Council V1Community governance — elections, proposals, voting
All amounts in the contracts use 18 decimals (wei). 1 KAS = 1e18 wei.