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.
- 1 SOL buys 1.04% of supply. On pump.fun, it buys 3.43%.
- 10 SOL buys 9.72%.
- 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.
1 SOL at block zero buys
1.04%vs 3.43% on pump.funThe price doubles after
49.7 SOLvs 12.4 SOL on pump.funGraduation market cap
$99k288.66 SOL raised to graduatepump.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 tokensHow 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, S | 1,000,000,000 |
| Sold on the curve | 793,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
- Take pump.fun's 1% fee: s = 0.99 SOL.
- Δy = 1,073,000,000 × 0.99 ÷ 30.99 = 34.3 M tokens.
- That is 3.43% of supply.
- 10 SOL gets 26.6%.
- 3% of supply costs only 0.87 SOL, fee included.
- 10% of supply costs 3.11 SOL.
- 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 priceSame family as pump.fun. Inside one range, this is constant product on virtual reserves:
- 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 1 | 107.757 SOL |
| SOL raised in range 2 | 180.902 SOL |
| SOL to graduate | 288.66 SOL |
| Tokens sold, range 1 / range 2 | 612.0 M / 230.9 M |
| Into the pool at graduation | 157.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 in | vee2 | pump.fun |
|---|---|---|
| 0.1 SOL | 0.105% | 0.353% |
| 1 SOL | 1.04% | 3.43% |
| 10 SOL | 9.72% | 26.6% |
| 50 SOL | 37.4% | 66.8% |
| 100 SOL | 58.0% | 79.3% |
Price moves
SOL raised before fees, from the start| Price move | Market cap | SOL raised |
|---|---|---|
| 2x | $10k | 49.7 SOL |
| 5x | $25k | 131.8 SOL |
| 10x | $50k | 197.4 SOL |
| Graduation | $99k | 288.66 SOL |
How we chose the numbers
Pick three market caps and one depth. The rest follows.- Pick the market caps.Start at $5k. Step at $18k. Graduate at $99k.P = M ÷ S, and a = √P₀, b = √P₁, g = √Pg.
- 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.
- 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₁.
- 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
- Take the 2.5% fee: s = 0.975 SOL.
- Range 1 holds 107.8 SOL, so the buy stays in range 1.
- The new √P = √P₀ + s ÷ L₁.
- Δy = L₁(1/√P₀ − 1/√P) = 10.42 M tokens, or 1.04% of supply.
- 10 SOL gets 9.72%.
- 10% of supply costs about 10.3 SOL. That is about 3.3x pump.fun.
Our config, on chain
Two-step config, Solana devnet- 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
- 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- 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.
| Measure | vee2 | pump.fun |
|---|---|---|
| Curve shape | Two ranges, step at $18k | One range |
| Start market cap | 92.8 SOL $5k | ≈ 27.96 SOL ≈ $1.5k |
| Graduation market cap | ≈ 1,837 SOL $99k | ≈ 410.9 SOL ≈ $22k |
| SOL raised to graduate | 288.66 SOL | ≈ 85 SOL |
| Price multiple on the curve | 19.8x | ≈ 14.7x |
| Price doubles after | 49.7 SOL | 12.4 SOL |
| Tokens sold on the curve | ≈ 842.9 M | 793.1 M |
| First buy, 1 SOL | 1.04% | 3.43% |
| First buy, 10 SOL | 9.72% | 26.6% |
| Cost of 10% at block zero | ≈ 10.3 SOL | ≈ 3.11 SOL |
| Trading fee | 2.5%, in SOL only | 1% |
| Where fees go |
| – |
| Bonding bonus | Every coin that bonds pays its dev 0.5 SOL. | – |
| Liquidity after graduation | Locked forever. Nobody can remove it. | – |
| Chains | Solana, Robinhood Chain, Elysium. Test networks today. | Solana |
- 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
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 serverYour browser
On chain
vee2 server
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.
| Chain | Chain id (test) | Start, M₀ | To graduate |
|---|---|---|---|
| Robinhood Chain | 4663 (46631) | 3.821 ETH | 11.884 ETH |
| Elysium | 99901 (99911) | 90.909 HYPE | 282.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 explorerSolana (devnet)
dbcij3LWUppWqq96dh6gJWwBifmcGfLSB5D4DuSMaqNSolscan cpamdpZCGKUy5JxQXB4dcpGPiikHawvSWAd6mEn1sGGSolscan EVM test chains
Loading…
Loading…
0x000000000000000000000000000000000000dEaDSecurity and tests
- 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%.
| Call | Gas |
|---|---|
| Create a coin | 807k |
| Curve buy | 84k |
| Curve sell | 87k |
| Buyback | 145k |
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.