How vee2 works, in full

The two-step bonding curve

Every vee2 coin starts at a $5k market cap and climbs in two steps.

Step 1: $5k to $18k. This step is deep. It takes about 108 SOL of buys to fill, and 61% of the supply sells here.Early buyers get a fair price, and no one wallet takes the coin at block zero.

Step 2: $18k to $99k. About 181 SOL more carries the coin to $99k. At the step, the price never jumps.

At $99k the coin bonds. 288.66 SOL is raised in total, and the coin moves to a pool with liquidity locked forever.

What your SOL buys at the first block:
  • 1 SOL buys 1.04% of supply. On pump.fun, it buys 3.43%.
  • 10 SOL buys 9.72%.
How fast it climbs:
  • 2x after 49.7 SOL of buys.
  • 5x after 131.8 SOL.
  • 10x after 197.4 SOL.

Every coin has a fixed supply of 1 billion.

In math terms: two constant-product ranges, x · y = k, end to end. Only the liquidity changes at the step.

The cost: a deep step 1 needs more SOL to double the price. On pump.fun, the price doubles after 12.4 SOL. We think a fair first block is worth that.

Below are the full math, the code and the live numbers. Test networks only.

30 SOLpump.fun virtual SOL120.1 SOLvee2 virtual SOL, step 1

1 SOL at block zero buys

1.04%vs 3.43% on pump.fun

The price doubles after

49.7 SOLvs 12.4 SOL on pump.fun

Graduation market cap

$99k288.66 SOL raised to graduate

pump.fun: one curve, thin at the start

One price curve on virtual reserves (constant product). These are its published constants.

The curve

x is virtual SOL, y is virtual tokens

How a buy works. A buy adds SOL to x. The curve keeps k fixed, so y must fall. The tokens that leave y go to the buyer.

Constants and results

Virtual SOL, x₀30 SOL
Virtual tokens, y₀1,073,000,000
Total supply, S1,000,000,000
Sold on the curve793,100,000
Start market cap≈ 27.96 SOL
SOL raised to graduate≈ 85.0 SOL
Graduation market cap≈ 410.9 SOL
Price, graduation ÷ start≈ 14.7x

Worked example: 1 SOL at block zero

  1. Take pump.fun's 1% fee: s = 0.99 SOL.
  2. Δy = 1,073,000,000 × 0.99 ÷ 30.99 = 34.3 M tokens.
  3. That is 3.43% of supply.
  4. 10 SOL gets 26.6%.
  5. 3% of supply costs only 0.87 SOL, fee included.
  6. 10% of supply costs 3.11 SOL.
  7. The price doubles after 12.4 SOL.

vee2: two steps, deep first

Two price ranges, end to end (two constant-product ranges). Step 1 is deep, from $5k to $18k. Step 2 has less liquidity and climbs faster to $99k.

Swap math inside a range

L is constant inside a range, P is price

Same family as pump.fun. Inside one range, this is constant product on virtual reserves:

Two ranges:
  • Range 1 runs from √P₀ to √P₁, with liquidity L₁.
  • Range 2 runs from √P₁ to √Pg, with L₂ = 0.590 · L₁.

Step 2 climbs faster. It has less liquidity, so each SOL moves the price more.

The price never jumps at the step. Price is xv ÷ yv = (L√P) ÷ (L/√P) = P, so L cancels out. At the step, √P is the same on both sides. Only L changes, so only the speed of the price changes.

The numbers

S = 1,000,000,000. Prices in SOL per token.
Start market cap, M₀$5k (92.80 SOL)
Step market cap, M₁ = 3.6 · M₀$18k (334.08 SOL)
Graduation, Mg = 19.8 · M₀$99k (1,837.4 SOL)
Range 1 depth, L₁ = 1.294 · S · √(M₀/S)120.1 virtual SOL, 1.294 B virtual tokens
Range 2 depth, L₂ ÷ L₁0.5902
SOL raised in range 1107.757 SOL
SOL raised in range 2180.902 SOL
SOL to graduate288.66 SOL
Tokens sold, range 1 / range 2612.0 M / 230.9 M
Into the pool at graduation157.1 M tokens

Dollar values at SOL $53.88. Native raised is after the 2.5% fee.

What a buy gets

First buy at block zero. vee2 2.5% fee, pump.fun 1% fee
SOL invee2pump.fun
0.1 SOL0.105%0.353%
1 SOL1.04%3.43%
10 SOL9.72%26.6%
50 SOL37.4%66.8%
100 SOL58.0%79.3%

Price moves

SOL raised before fees, from the start
Price moveMarket capSOL raised
2x$10k49.7 SOL
5x$25k131.8 SOL
10x$50k197.4 SOL
Graduation$99k288.66 SOL

How we chose the numbers

Pick three market caps and one depth. The rest follows.
  1. Pick the market caps.
    Start at $5k. Step at $18k. Graduate at $99k.P = M ÷ S, and a = √P₀, b = √P₁, g = √Pg.
  2. Pick the depth of range 1.
    Range 1 raises sol₁ = L₁(b − a) = 107.8 SOL.It sells tok₁ = L₁(1/a − 1/b) = 612.0 M tokens.
  3. Make the supply add up exactly.
    Tokens sold in both ranges, plus the pool tokens at graduation (raised ÷ Pg), must equal S.That gives L₂ = 0.590 · L₁.
  4. The SOL needed to graduate.
    That is 288.66 SOL.About 842.9 M tokens sell.About 157.1 M go into the pool.

Worked example: 1 SOL at block zero

  1. Take the 2.5% fee: s = 0.975 SOL.
  2. Range 1 holds 107.8 SOL, so the buy stays in range 1.
  3. The new √P = √P₀ + s ÷ L₁.
  4. Δy = L₁(1/√P₀ − 1/√P) = 10.42 M tokens, or 1.04% of supply.
  5. 10 SOL gets 9.72%.
  6. 10% of supply costs about 10.3 SOL. That is about 3.3x pump.fun.

Our config, on chain

Two-step config, Solana devnet
One Meteora DBC config:
  • Start price: sqrtStartPrice = √P₀.
  • Curve: 2 points, [√P₁, L₁] then [√Pg, L₂].
  • Graduation: migrationQuoteThreshold = 288.66 SOL, the total raise.

Loading the config address…

The trade-off

What the two steps cost
  • Step 1 is deep, and it sells a lot. Range 1 sells 61% of supply for 107.8 SOL. Early buyers get more supply than on a one-range curve that starts higher.
  • Doubling takes more SOL. The price doubles after 49.7 SOL here. On pump.fun, it doubles after 12.4 SOL.
  • Step 2 moves faster, both ways. L₂ = 0.59 · L₁, so each trade moves the price more. Selling 5% of supply at a $50k market cap drops the price 31.4%.
  • The burn adds a floor. Every 30 seconds, fees buy and burn the coin. Burned supply never comes back, so a falling price lands on a rising floor. The floor is not a guarantee.

Compare them

Move the slider and hover the charts. Every point comes from the formulas above. The dashed line marks the step.

Try both curves

Computed in your browser from the formulas above
vee2
1.04%
pump.fun
3.43%
Less supply here
3.3x
% of supply one first buy getsAfter each fee: 2.5% on vee2, 1% on pump.fun. Log scale for SOL.
0%20%40%60%80%0.1 SOL1 SOL10 SOL100 SOL
Market cap as SOL flows inMarket cap in SOL (up) against SOL raised (across), to graduation. The dashed line is the step.
05001,0001,5002,000050100150200250300The step, $18kpump.fun graduatesvee2 graduates
Why the lines differ:
  • Both curves use constant product inside a range.
  • vee2 step 1 starts with 120.1 virtual SOL. pump.fun starts with 30.
  • vee2 step 2 has 0.59x the liquidity of step 1.
  • pump.fun stops at 79.31%. It sells only 793.1 M tokens on its curve.
  • vee2 values use SOL at $53.88.

Sniper cost

SOL to take a share of supply at block zero
vee210.3 SOL
pump.fun3.11 SOL
Costs more here3.3x
How we count it:
  • SOL from your wallet, fee included: 2.5% on vee2, 1% on pump.fun.
  • In a range: s = L(√P₁ − √P₀), with 1/√P₁ = 1/√P₀ − Δy/L.
  • Past 61.2%, the buy crosses the step into range 2.
  • Start market cap on vee2: 92.8 SOL.
  • Start market cap on pump.fun: 27.96 SOL.

Side by side, every number

vee2 on Solana against pump.fun's published curve.

Measurevee2pump.fun
Curve shapeTwo ranges, step at $18kOne range
Start market cap92.8 SOL $5k≈ 27.96 SOL ≈ $1.5k
Graduation market cap≈ 1,837 SOL $99k≈ 410.9 SOL ≈ $22k
SOL raised to graduate288.66 SOL≈ 85 SOL
Price multiple on the curve19.8x≈ 14.7x
Price doubles after49.7 SOL12.4 SOL
Tokens sold on the curve≈ 842.9 M793.1 M
First buy, 1 SOL1.04%3.43%
First buy, 10 SOL9.72%26.6%
Cost of 10% at block zero≈ 10.3 SOL≈ 3.11 SOL
Trading fee2.5%, in SOL only1%
Where fees go
  • Before bonding: 30% wallet A, 35% burns $VEE2, 35% burns the coin.
  • After bonding: 10% wallet A, 20% creator, 30% burns $VEE2, 30% burns the coin.
–
Bonding bonusEvery coin that bonds pays its dev 0.5 SOL.–
Liquidity after graduationLocked forever. Nobody can remove it.–
ChainsSolana, Robinhood Chain, Elysium. Test networks today.Solana
How to read the table:
  • First buys and costs include each fee: 2.5% on vee2, 1% on pump.fun.
  • SOL raised is after the fee.
  • Dollar values use SOL at $53.88.
  • For pump.fun, we compare the curve math only.

Most of every fee buys and burns

2.5% per trade. Before bonding: 30% wallet A, 70% burns. After bonding: 10% wallet A, 20% creator, 60% burns.

Every coin that bonds pays its dev 0.5 SOL.On Robinhood Chain and Elysium: the same value in ETH or HYPE (0.5 × SOL price ÷ native price), paid by the keeper.

Where every fee goes

A trade on the curveBuy or sell on the Meteora Dynamic Bonding Curve.
2.5% of the trade
2.5% feeCollected in SOL only.
split by Meteora
Meteora shareAbout 20% of the fee. Meteora keeps it as its protocol share.
Platform shareAbout 80% of the fee, or about 2% of volume. The split below applies to it.
claim
Burn worker, every 30 sClaims the platform share and splits it.
30 / 35 / 35
Burn $VEE2, 35%Buys $VEE2 and burns it.
Burn the coin, 35%Buys the coin and burns it.

Before bonding, the creator gets no fee share. When the coin bonds, the platform pays its dev 0.5 SOL. It pays once per coin and logs the transaction.

$VEE2 fees: all go to wallet A. They never fund a $VEE2 buyback.

Every leg is public: each burn, wallet A transfer and bonding bonus is on the burn log, with its transaction.

How we built it

The browser builds and signs. The chains hold the money. The server only watches and burns.

Architecture

No user key ever reaches the server

Your browser

Build the transactionThe site builds every transaction in the browser.
Simulate itEvery transaction is simulated before you sign.
Your wallet signsThe server never holds a user key.

On chain

Solana devnetMeteora DBC curve, then a DAMM v2 pool.
vee2 test chainsBallastFactory curve, then a BallastPair.
Mainnet laterTest networks only today.

vee2 server

IndexerSolana pools and EVM events.
Burn workersEvery 30 s, aligned to the wall clock.
Live streamServer-sent events (SSE) to the site.

Solana

SOL
  • Curve. Meteora Dynamic Bonding Curve with a 2-point curve: range 1 with L₁ to the step, range 2 with L₂ to the migration price.
  • Graduation. Automatic migration to Meteora DAMM v2. Pool fee 2.5% in SOL.
  • Liquidity. Split into two positions, 20% creator and 80% platform. Both are permanently locked. Locked positions still earn fees.
  • Fees. 2.5% per trade, in SOL only. Meteora keeps about 20% as its protocol share. The splits apply to the rest, before and after bonding.
  • Wallet A. One platform address gets the platform share of every fee and all $VEE2 fees. Every transfer is logged as a wallet A leg.
  • Bonding bonus. When a coin bonds, the server pays its creator 0.5 SOL, once per coin. If the payer wallet is short, the bonus waits in a queue until the wallet is funded.
  • Fee claims. The engine claims to the platform wallet first, then pays the exact fee. This fixes an SDK rent leak we found.
  • Token. Immutable SPL token. Fixed supply of 1,000,000,000. 6 decimals. Nobody can mint more.

EVM chains

RH ELY
  • Contract. Our own BallastFactory, Solidity 0.8.24. No owner. No admin function.
  • Same math. The same two ranges as Solana, with the same formulas. M₀ = $5k ÷ native USD price.
  • Graduation. A buy that crosses graduation is capped, and the rest is refunded. Then the contract deploys a BallastPair, a small constant-product pool. It gets the raised native coin and matching tokens.
  • Liquidity. 100% of LP tokens go to 0x…dEaD. Locked forever. The pair has no remove-liquidity function.
  • Fees. 2.5% per trade, in the native coin. Wallet A and the $VEE2 bridge address are fixed when the contract is deployed. The $VEE2 share is bridged to Solana, then burned.
ChainChain id (test)Start, M₀To graduate
Robinhood Chain4663 (46631)3.821 ETH11.884 ETH
Elysium99901 (99911)90.909 HYPE282.782 HYPE

Sized at the native prices the server reports now. The shape is the same on every chain.

Addresses

Copy or open on the explorer

Solana (devnet)

Dynamic Bonding Curve programMeteora
dbcij3LWUppWqq96dh6gJWwBifmcGfLSB5D4DuSMaqNSolscan
DAMM v2 programMeteora
cpamdpZCGKUy5JxQXB4dcpGPiikHawvSWAd6mEn1sGGSolscan

EVM test chains

BallastFactory, Robinhood Chain

Loading…

BallastFactory, Elysium

Loading…

LP lock addressEvery BallastPair mints its LP here
0x000000000000000000000000000000000000dEaD

Security and tests

10/10Foundry tests pass
512runs in each of 2 fuzz suites
  • Fuzz: users never take out more native than they put in.
  • Fuzz: the contract is always solvent.
  • Reentrancy attempts all fail.
  • Every transaction is simulated before you sign.
  • Site math: every curve number on this page matches the curve spec table within 0.5%.
Gas on the EVM contracts
CallGas
Create a coin807k
Curve buy84k
Curve sell87k
Buyback145k

Honest limits

Read these before you trade
  • Test networks only today. Solana devnet and vee2 test chains. Mainnet comes later.
  • Memecoins can go to zero. Burns reduce supply. They do not guarantee a price.
  • Buyback timing on EVM. A trader can trade around a buyback and take at most about 30 s of fees.
  • The $VEE2 share on EVM. It goes to a separate bridge address. Every 30 seconds, a worker bridges it to Solana, buys $VEE2 and burns it.
  • Quotes come from the chain. The pages show the two-step design. When you trade, the quote comes from the contract or the config on the chain.

Read the math. Then launch on the two-step curve.

Launch a coin