0x7eD598BcEf8bd9Edd8C97A195C6d13f40801EC7e on Robinhood
Chain, chain ID 4663. The function is launchToken. That’s the whole integration:
no API key, no account with us, nothing to sign up for.
Launching is open to everyone right now (launchEnabled is true). If we ever close
the public gate, canLaunch(address) tells you whether a given address may launch.
Step 1: Pick the launch config
launchToken takes a launchConfigId. There is currently exactly one config, id 0:
- 1 billion tokens, 18 decimals
- 1% trade fee on the curve
- Graduated pool: 0% LP fee tier, tick spacing 200
- Graduation amount depends on the quote asset: read
pairTokenEconomics(quoteToken)
That last row surprises people: the leftover virtual-reserve tokens go to
PonsV2LaunchLocker and never circulate.
Step 2: Pick what it trades against
ThepairToken argument is what your token trades against. Pass the zero address
for native ETH, or an approved ERC-20: tokenized stocks like AAPL and TSLA, ETFs
like SPY and GLD, cbBTC, TAO, or USDG.
It has to be one the factory has approved. Anything else reverts
PairTokenNotApproved.
Three things that trip people up:
The curve collects your quote asset from the very first buy. There is no ETH
phase followed by a swap. If you launch against NVDA, buyers spend NVDA on the
curve, and at graduation the factory seeds an NVDA/TOKEN pool with exactly the
NVDA it collected. No router, no oracle, no conversion anywhere in the path.
Each asset has its own graduation threshold, in its own units. 4.2 ETH,
8,090 USDG, 41.6 NVDA, 24.2 AAPL, 0.1318 cbBTC. Read it with
pairTokenEconomics(token), which returns (phantomQuote, graduationThreshold, decimals). We re-peg these by hand as rates move and there is no oracle, so don’t
hardcode them. The threshold is measured net of fees, so buyers actually spend
about threshold / (1 - 0.01 - creatorTax) gross to get there.
Decimals vary. Most are 18, but USDG is 6 and cbBTC is 8.
Whichever you pick, the curve behaves identically: phantomQuote / graduationThreshold is 0.4 for every approved asset and for native, and that ratio
is the only thing that sets the curve’s shape.
The endpoint returns 67 entries: native ETH plus the 66 approved assets, each with
address, symbol, name, decimals, asset_class and logo. It matches the
factory’s approved set exactly, in both directions.
Still worth calling approvedPairTokens(address) before you launch, though. Approvals
are live state: we add assets regularly, the owner can revoke, and a launch against
an unapproved asset reverts with PairTokenNotApproved after the user has already
signed.
Step 3: Fill in the token params
One struct, these fields in this order:- name
- symbol
- logo: a string (see step 4)
- description: a string
- socials: five strings: twitter, telegram, discord, website, farcaster. Empty strings are fine.
- creatorFeeRecipient (IMPORTANT): who collects the creator fees. Pass the zero address and it defaults to whoever sent the transaction. Get this right at launch: afterwards only that recipient can hand it off, and if they lose the key the only other route is a protocol override behind a 3-day timelock.
- creatorTaxBps: an extra trade fee the creator charges, on top of the 1% base fee. Max is 1000, which is 10%. Zero is fine. See the note at the bottom for what this actually charges.
- buybackEnabled: true or false, their call.
- expectedEconomics: a price-lock guard. Pass 32 zero bytes to skip it. To use
it, call
previewLaunchEconomics(0, pairToken)first and pass back what it returns; if we change any launch term before the transaction lands, it reverts instead of launching on different terms. - salt: any unused 32 bytes. It only has to be unique among that account’s own
launches. It’s also how you mine a vanity token address, and
PonsV2LaunchDeployer.predictLaunchAddressestells you the addresses in advance.
Step 4: The logo
logo is just a string on the token contract holding the image URL. Nothing uploads
to Pons and we don’t host it for you: pin to IPFS client-side, or use your own CDN.
Our site and indexer read that string straight off the token contract, so whatever
you put there is what everyone sees. Pass an empty string and the token still
launches, it just has no image anywhere.
Step 5: Send it
msg.value != launchFee, so one wei over or under
reverts with LaunchFeeNotPaid. Read launchFee() rather than hardcoding it: it’s
owner-settable, and because the check is exact equality, a change breaks any
integrator who baked in the constant.
This is only the launch fee. The opening buy is a separate transaction against the
curve, and on an ERC-20-quoted launch the buyer must approve the curve first and
send msg.value of zero. Only native launches pass value with the buy.
Step 6: What comes back
Two addresses: the token and the curve. Trading is live on the curve immediately, in the same transaction. The deployer and the creator fee recipient are exempted from the snipe tax automatically, so an instant dev buy isn’t taxed at the peak. It appears on Pons on its own: our indexer watches theTokenLaunched event. You
don’t call us to register it.
Bundling several wallets
Use the four-argument overload:- Cap is 32 addresses. Longer reverts with
ExemptionListTooLong. - The deployer and the creator fee recipient are exempted automatically and do not count against the 32.
- The exemption is keyed on the recipient of the buy, not the sender. If a
relayer or contract buys on behalf of wallet X, then X must be in the list and be
the
recipientargument on the curve buy. Getting this backwards is the most likely integration bug. It also means one funded wallet can buy repeatedly with different recipients, and each one clears untaxed if it’s on the list. - Launch-time only.
exemptFromSnipeTaxisonlyFactoryand the factory only calls it inside the launch transaction. A wallet you forget can never be added; the only fix is relaunching.
Getting the dev buy into the launch transaction
launchToken cannot fold a buy into itself, so the creator’s first buy is a second
transaction against a curve that is already live and public. That gap is real: one
launch on this factory had its whole sellable allocation bought out by 22 addresses
in the two blocks after it opened.
PonsV2LaunchAndBuy at 0xe33E9E479dF8802cb0866d5d05258bEc4cF62948 closes it:
- It buys for one
recipientonly, with a singlequoteIn. Other bundle wallets still buy themselves afterwards. recipientis appended to the exemption list automatically, so you may pass at most 31 entries here (the factory’s cap of 32 counts the appended one).- Native launch:
msg.valuemust belaunchFee + quoteIn. ERC-20 launch:msg.valueis the launch fee only, and you approve the router forquoteInfirst.
What the snipe tax actually costs
Currently 99% in the launch second, decaying to zero across 3 seconds:
Both figures are snapshotted per launch, so a curve keeps the terms it launched
under.
The reverts to warn people about
launchTokenFor is in the ABI and looks like the useful one. It isn’t for you: it’s
restricted to our PonsV2LaunchAndBuy router so it can attribute a launch to the
real initiating account.
What creatorTaxBps actually is
It is not an ERC-20 transfer tax. The token has no transfer hook, and sending it
wallet to wallet costs nothing. It is an extra fee on the quote leg of a trade,
charged the same way the base fee is, and paid entirely to the creator, never split
with the protocol.
It applies in both phases of a launch’s life:
- On the curve, on top of the 1%
curveFeeBps. Each buy takesspent * creatorTaxBps / 10000off the quote input before the curve prices it. - In the graduated pool, on top of the 1% hook fee, charged by
PonsV2MemeHookinafterSwap. The pool’s own Uniswap LP fee tier is 0%, so the hook fee and the creator tax are the entire trade cost.
creatorTaxBps = 1000 charges 11% per trade (1% base + 10%
creator), not 1%. The combined base fee and creator tax are capped at 20%
(MAX_TOTAL_TRADE_FEE_BPS), which the 10% ceiling on each leg keeps well clear of.
Default is zero, and it is opt-in per launch. How creators actually use it, across
the last 23,049 launches:
65.7% of launches set one, averaging 2.20% among those that do. Worth telling
integrators: if you leave this field at zero because your UI doesn’t expose it,
you’re shipping a launcher that two thirds of creators would configure differently.
Where the fee is actually charged
Not on the LP fee tier. The pool is created withfee: 0 (the factory rejects
anything else with CoreLpFeeMustBeZero), so Uniswap charges nothing and liquidity
providers earn nothing from trades.
The take happens in the hook instead. PonsV2MemeHook declares afterSwap and
afterSwapReturnDelta, calls poolManager.take for hookFee + creatorTax, and
returns that as a positive delta the swapper has to settle. So it is deducted from
the swap, charged to the trader, and routed to the hook’s accounting.
One detail that matters if you’re building a quote or preview UI: the fee is charged
on the unspecified leg of the swap. For an ordinary exact-input swap that means
it comes out of the output. A buy is taxed in the memecoin, a sell is taxed in
the quote asset. With a 10% creator tax, an exact-input buyer receives 89% of the
tokens the swap would otherwise return, so a preview that ignores the hook overstates
the fill.
Getting paid: creators claim, holders don’t
These two work in opposite directions, and people mix them up constantly.Creator fees: pull, and only by the recipient
Fees never transfer to the creator directly.PonsV2MemeHook._payOut credits
PonsV2FeeEscrow at 0xd3AFEB2a57f70eF218Aa82451c51B2fb0416Ac9e, and the escrow’s
debit path is strictly self-service:
msg.sender only. There is no claimFor, no operator push, and no owner rescue.
The creator fee recipient calls claim() for a native launch or claimToken(token)
for an ERC-20 quote asset, and can read what’s waiting with balanceOf(address) or
balanceOfToken(address, token).
Two consequences:
- The recipient must be an address that can call the escrow. Point it at a contract that can’t, and the fees are stranded permanently. This has already happened to launches on this factory.
- Fees don’t reach the escrow by themselves. Trades accrue into the hook’s
pendingFees/pendingCreatorTax, and someone has to sweep before anything is claimable. The full path is: trade -> hook accrues -> sweep -> escrow credit -> recipient claims. Pre-graduation the same is true of the curve:sweepFeespays the escrow, and is callable by our sweep operator, or by the launch’s deployer when no internal conversion is needed.
Holder rewards: pushed, nothing to click
Only relevant if the creator points their fee recipient at aPonsFeeDistributor
(our “fees to holders” option). Then the creator’s fees, including their creator
tax, go to holders rather than to them.
The distributor’s claim is deliberately open: callable by anyone on the holder’s
behalf, with the payout always going to the holder and never the caller. Our keeper
uses that to push every payout through claimMany after publishing each merkle
epoch, so holders normally never claim anything.
- There is a self-claim fallback: the holder claim modal reads a wallet’s unclaimed legs with their merkle proofs, so a holder can pull their own fees on their own gas if the push is behind.
- Epochs expire after 90 days (
CLAIM_WINDOW). Unclaimed allocations aren’t lost to the protocol, they roll back into the unallocated pot and go out in a later epoch, but the holder who missed that epoch loses that allocation. - Weights are the time integral of each holder’s balance over the window, so an address that fully exits before the window closes forfeits its weight. This is the usual answer to “why did I get nothing”.