Skip to main content

Configuration

This page lists everything a launchpad and a launch can set, with the allowed range and the default of each.

How settings work​

Three parties choose, each inside the one before:

WhoDecidesWith
The contractsThe widest range of every setting. Bankr sets it per chain.Read it with settings.limits().
Your launchpadA range and a default inside that, and a switch for each feature.launchpads.configure.
A launchA value inside your range. What it leaves out takes your default.The options of client.launch.

The result is written into the coin at launch. No later change reaches a coin that is already live.

How to read the tables:

  • Limit is the widest range a launchpad can set.
  • A new launchpad is what your launchpad starts with when you register it. You can change every one.
  • Default is what a launch gets when it names nothing.

The figures are Base's. settings.limits() and settings.template() read them live on any chain.

Unit100% is1% isUsed forConvert from percent
Pips1,000,00010,000Fee ratespercentToPips("1.75")
Bps10,000100SharespercentToBps("50")

The samples on this page use client, settings, launchpads, send, operator and launchpadId from Set up a launchpad. launch stands for a launch on your launchpad:

import type { LaunchInput } from "@bankr/launch-sdk";

const launch = {
name: "Acme Coin",
symbol: "ACME",
metadataUri: "ipfs://your-metadata-cid",
launcher: operator.address,
launchpadId,
} satisfies LaunchInput<"base">;

Fees and snipe protection​

A coin's fee has a steady rate, the trading fee. It can open higher and fall to the trading fee in a straight line. That opening fee is snipe protection: whoever buys in the first seconds pays it.

Launch optionWhat it setsLimitA new launchpad allowsDefault
schedule.steadyPipsThe trading fee, for buys and sells0.05% to under 100%0.05% to 10%0.05%
schedule.startPipsThe fee the coin opens atUp to under 100%Up to 80%None
schedule.decaySecsSeconds until it reaches the trading fee0 to 1200 to 1200
fees: { buy, sell }A different schedule for buys and for sellsThe same, per sideThe same, per side

On your launchpad, the knobs are steadyPips, startPips and decaySecs:

await send(
await launchpads.setKnobs(launchpadId, {
// A launch picks a trading fee from 1% to 3%, and gets 1% when it names none.
steadyPips: {
min: percentToPips("1"),
max: percentToPips("3"),
default: percentToPips("1"),
},
// Every coin opens at 50% by default, falling to its trading fee in 20 seconds.
startPips: { default: percentToPips("50") },
decaySecs: { default: 20 },
}),
);

On a launch:

await client.launch({
...launch,
// Opens at 40% and falls to 2% over 30 seconds, for buys and sells alike.
schedule: {
startPips: percentToPips("40"),
steadyPips: percentToPips("2"),
decaySecs: 30,
},
});

await client.launch({
...launch,
symbol: "ACME2",
// Buys are protected, sells are flat.
fees: {
buy: { startPips: 400_000, steadyPips: 10_000, decaySecs: 30 },
sell: { startPips: 10_000, steadyPips: 10_000, decaySecs: 0 },
},
});
  • Set schedule or fees, not both. A launch that names neither gets the launchpad's default.
  • A flat fee is a schedule whose startPips equals its steadyPips, with decaySecs: 0.
  • Everyone who trades in the opening window pays the opening fee, people and bots alike.
  • A first buy inside the launch pays the trading fee, not the opening fee.
  • A schedule outside the launchpad's range throws FEE_OUT_OF_BOUNDS, and err.detail states the range.

For a rule that lasts minutes or hours, such as a sniper tax, use an extension.

Fee shares and payees​

Each trading fee splits in a fixed order. Fees walks through it with numbers. These are the shares you set:

SettingSet byWhat it isLimitA new launchpad allowsDefault
PayeesLaunchpadUp to 4 wallets and their shares of each fee after Bankr's cut100% total100% totalNone
referrerBpsLaunchA referrer's part of each fee, when a trade names one0% to 100%Off0
holderShareBpsLaunchThe holders' part of the creator's own take0% to 100%0% to 100%See note
autoLpBpsLaunchThe part of the creator side added to the pool's locked liquidity0% to 100%0% to 100%30%
buybackBpsLaunchThe part of the creator side that buys the coin back and burns it0% to 100%0% to 100%0
feeRecipientsLaunchWho receives the creator's take: 1 to 10 wallets with shares1 to 101 to 10Launcher

Note: a new launchpad sends 11.67% of the creator side to holders by default.

Bankr's cut is not a setting of yours. It is 10% of each fee and never less than 0.025% of the trade, and half of it goes to the coin's holders.

await client.launch({
...launch,
schedule: {
startPips: percentToPips("1"),
steadyPips: percentToPips("1"),
decaySecs: 0,
},
autoLpBps: percentToBps("30"), // 30% of the creator side compounds into locked liquidity
buybackBps: percentToBps("20"), // 20% buys the coin back and burns it
holderShareBps: percentToBps("25"), // a quarter of the creator's own take goes to the coin's holders
// Three wallets split what is left. The shares add up to 100%.
feeRecipients: [
{ recipient: operator.address, shareBps: percentToBps("50") },
{
recipient: "0x1111111111111111111111111111111111111111",
shareBps: percentToBps("30"),
},
{
recipient: "0x2222222222222222222222222222222222222222",
shareBps: percentToBps("20"),
},
],
});
  • Payees are set on the launchpad, not on a launch. See Payees.
  • holderShareBps is a share of what the creator keeps after auto-LP and any buyback. The launchpad's holdersBps knob is the same share measured against the whole creator side. With 30% auto-LP, holderShareBps: 2500 is 17.5% of the creator side, and the default 11.67% equals holderShareBps: 1668.
  • A buyback needs enough fee. With a buyback share, the buy fee plus the sell fee must be at least 1%, counted after what the launchpad's payees and any referrer take. A launch under that is refused with FEE_OUT_OF_BOUNDS.
  • feeRecipient: address names a single recipient. Set feeRecipient or feeRecipients, not both.
  • A fee recipient that is a contract must be able to claim. A wallet, a Safe that has restricted its claims and an EIP-7702 wallet need nothing more. Any other contract needs allowContractFeeRecipient: true on the launch.

To switch a share off for every coin, set its knob's max to 0. To require it, set its min above 0:

await send(
await launchpads.setKnobs(launchpadId, {
autoLpBps: { max: 5_000 }, // a coin compounds at most half of its creator side
referrerBps: { max: 2_000 }, // a launch may give referrers up to 20% of each fee
}),
);

A coin that allows referrers pays one when a trade names it in its hook data: encodeHookData({ referrer }).

Supply and the curve​

Launch optionWhat it setsLimitA new launchpad allowsDefault
supplyThe total supply, in base units (18 decimals)1 token to 10^181 token to 100 billion100 billion
curveWhere the sale's liquidity sits in the price range1 to 8 bandsThe three built-in curves"runner_v1"
curve.startFdvUsdThe whole supply's value at the start, in US dollarsAny$2,000 to $125,000,000$10,000

The supply is minted once at launch. It never changes.

A curve is a list of bands. Each band covers a stretch of price and holds a share of the sale. As buyers push the price up, the pool sells one band after the next.

Built-in curveStarts atBands, outward from the start price
"runner_v1" (the default)$10,0003% of the sale over the first 6,800 ticks, 95% over the next 110,000, 2% above
"degen"$2,5003% over the first 20,600 ticks, 95% over the next 110,000, 2% above
"thin_topside"$10,000Eight bands that sell more of the supply early. BUILT_IN_CURVES has the figures

One tick is a 0.01% step in price. 6,932 ticks doubles the price, and 23,027 ticks multiplies it by 10.

await client.launch({
...launch,
supply: 1_000_000_000n * 10n ** 18n, // one billion tokens
curve: "degen",
});

A launch can define its own bands on a launchpad that allows them:

// Once, on your launchpad: allow any bands that pass the rules.
await send(await launchpads.setCurveAllowed(launchpadId, "any", true));

await client.launch({
...launch,
curve: {
startFdvUsd: 10_000,
bands: [
{ widthTicks: 6_800, shareBps: 304 }, // $10K to about $20K: 3.04% of the sale
{ widthTicks: 110_000, shareBps: 9_658 }, // on to about $1.2B: 96.58%
{ widthTicks: 0, shareBps: 38 }, // everything above: 0.38%
],
},
});
Band fieldBounds
widthTicksA multiple of 200, at least 200. The last band has width 0 and runs to the top of the pool's range.
shareBpsAt least 1. The shares add up to 10,000.

The contracts hold custom bands to three rules:

  1. No thin band. Every band holds at least a tenth of the liquidity the whole sale would have as one flat band.
  2. No wall. No band holds more than twice that flat liquidity: about 2% of the sale per 200 ticks.
  3. No parked supply. At least 90% of the sale sells within 120,000 ticks of the start.

A coin with auto-LP or a buyback has one more: liquidity may rise only near the start, so a band further out holds no more than the band before it.

client.plan checks the rules before anything is signed. A broken rule throws INVALID_PARAMS, and err.detail names the band and says what to change. curve: { marketCaps: [...] } takes the same bands as market-cap ranges, and curveFromMarketCaps converts.

Quote tokens​

A coin trades against a quote token. Its price is in the quote token, and every fee is paid in it, on buys and on sells.

Launch optionWhat it setsA new launchpad allowsDefault
quote"WETH", "USDC" or any ERC-20's addressEvery token Bankr lists, and any other ERC-20WETH
startFdvThe whole supply's value at the start, in the quote's base unitsRequired on a token Bankr does not listFrom curve.startFdvUsd
await client.launch({ ...launch, quote: "USDC" });

Bankr lists the quote tokens it can price. settings.quotes() reads the list, and settings.padQuote(launchpadId, token) says whether a launch on your launchpad may pair with a token.

A launch can pair with a token Bankr does not list, where the launchpad's unlistedQuotes switch is on. These things differ:

WhatOn a token Bankr does not list
The start priceYou set it. Pass startFdv.
Auto-LPNeeds a floor and a cap in that token, from the launchpad or the launch. Without them, set autoLpBps: 0.
Holder rewardsPaid in the quote token. Nothing converts them to BNKR.
A token that misbehavesA token that pauses or blocks transfers stops that coin's trades and payouts. A fee-on-transfer token cannot trade at all.
await client.launch({
...launch,
quote: "0x1111111111111111111111111111111111111111", // any ERC-20
startFdv: 1_000_000n * 10n ** 18n, // the whole supply is worth 1M of an 18-decimal token at the start
autoLpBps: 0,
});

Quote tokens on the launchpad page shows how to list the tokens your launchpad takes.

Vesting and allocations​

A launch can set part of the supply aside instead of selling it in the pool.

Launch optionWhat it setsLimitA new launchpad allowsDefault
vesting.bpsThe creator's share of the supply0% to 99.99%0% to 50%15%
vesting.cliffSecondsSeconds before any of it unlocksAnyFixed at 30 days30 days
vesting.durationSecondsSeconds until all of it has unlockedAnyFixed at 365 days365 days
vesting.recipientWho receives itAny walletThe launcher
allocationsSlices of the supply for other wallets, each on its own scheduleWith the creator's share, at most the vestBps topAllowed. Any schedule.None
vestToHoldersA share of the supply released over time to the coin's holders0% to 99.99%Up to 50%, over 1 to 365 daysNone

Everything vested together, the creator's share, the allocations and a vest to holders, is at most 50% of the supply on a new launchpad.

const supply = 100_000_000_000n * 10n ** 18n;
await client.launch({
...launch,
vesting: { bps: percentToBps("10") }, // 10% to the creator, on the launchpad's schedule
allocations: [
// 2% of the supply to a partner, unlocked when trading starts.
{
recipient: "0x1111111111111111111111111111111111111111",
amount: (supply * 2n) / 100n,
},
// 5% to the team: locked for 30 days, fully unlocked after a year.
{
recipient: "0x2222222222222222222222222222222222222222",
amount: (supply * 5n) / 100n,
cliffSeconds: 30 * 86_400,
durationSeconds: 365 * 86_400,
},
],
vestToHolders: { bps: 500, cliffSeconds: 0, durationSeconds: 30 * 86_400 }, // 5% to holders over 30 days
});
  • Nothing unlocks before the cliff. From the cliff it unlocks in a straight line, and all of it has unlocked at durationSeconds.
  • An allocation with no schedule is unlocked when trading starts.
  • No creator vesting: vesting: { bps: 0 }.
  • Each allocation adds about 129,400 gas to the launch. A launch must fit in one transaction, so on Base a heavy launch holds about 18 on a launchpad with one payee, fewer with more payees.

A new launchpad fixes the creator's schedule. To let launches choose, widen the range on your launchpad:

await send(
await launchpads.setKnobs(launchpadId, {
vestCliffSecs: { min: 0 }, // down to no cliff
vestSecs: { min: 0 }, // down to unlocked when trading starts
}),
);

await client.launch({
...launch,
vesting: {
bps: percentToBps("10"),
cliffSeconds: 7 * 86_400, // nothing for a week
durationSeconds: 90 * 86_400, // fully unlocked on day 90
},
});

Each recipient releases what has unlocked. client.vesting.get(token) reads every schedule, and client.vesting.buildRelease(token, account) builds the release.

Wallet cap​

For a set time after trading starts, no wallet can hold more than a set share of the supply.

Launch optionWhat it setsLimitA new launchpad allowsDefault
walletCap.bpsThe cap's size, in bps of supply0% to 100%Fixed at 2%2%
walletCap.secondsThe cap's lengthAnyFixed at 24 hours24 hours
walletCap: falseNo cap on this coinNot allowed
capExclusionsMore wallets exempt from the capAllowedThe chain's swap routers

A new launchpad fixes the cap. To let launches choose, open a range:

await send(
await launchpads.setKnobs(launchpadId, {
capBps: { min: 50, max: 500, default: 200 }, // 0.5% to 5% of supply
capSecs: { min: 0, max: 7 * 86_400, default: 86_400 }, // up to 7 days. 0 allows no cap
}),
);

await client.launch({
...launch,
walletCap: { bps: 100, seconds: 3_600 }, // 1% of supply per wallet for the first hour
});

await client.launch({ ...launch, symbol: "NOCAP", walletCap: false });
  • A transfer that would take a wallet over the cap reverts. That holds for buys and for plain transfers.
  • It ends by itself. After its length nothing is checked.
  • Routers are exempt. The contracts that common swap aggregators settle through are exempt by default, so purchases through them do not fail.
  • No cap on any coin: capSecs: { min: 0, max: 0, default: 0 } on your launchpad.
  • The cap controller is one account that may end a coin's cap early. It can never extend one. launchpads.setCapController(id, account) names it, and null means nobody.

First buy​

A first buy is a buy the launcher makes inside the launch transaction, before anyone else can trade.

Launch optionWhat it setsLimitA new launchpad allowsDefault
devBuy.amountWhat the launcher pays, in the quote's base unitsUp to 100% of supply boughtUp to 2% of supply boughtNone
devBuy.slippageBpsHow far the fill may be from the plan200
import { parseEther } from "viem";

await client.launch({
...launch,
devBuy: { amount: parseEther("0.01") }, // 0.01 ETH of the coin for the launcher
});
  • On WETH it is paid in ETH with the launch. On any other quote token, client.launch sends one approval first.
  • It sits under the wallet cap. The launcher is a wallet like any other.
  • Your launchpad sets the most it may buy with the devBuyMaxBps knob, or switches first buys off with the devBuy switch.

Metadata​

Launch optionWhat it setsLimitDefault
nameThe token's name. It never changes.1 to 100 charactersRequired
symbolThe token's symbol. It never changes.1 to 20 charactersRequired
metadataUriA link to the token's metadata JSON: image, description2,048 bytesEmpty
metadataAdminOne account that may replace the link after launchAny addressNobody

The contracts store the link as written and never read the JSON it points to. Host or pin the JSON before you launch. Bankr's own metadata uses these fields:

FieldWhat it holds
nameThe token's name.
symbolThe token's symbol.
descriptionA short description.
imageA link to the token's image, such as an ipfs:// link.
external_urlThe project's website.
tweet_urlA post on X about the launch.

By default the link is fixed from the token's first block. Name a metadata admin when the image or description may change:

const { token } = await client.launch({
...launch,
metadataAdmin: operator.address,
});

// Later, sent by the admin:
await send(
await client.metadataAdmin.buildSetUri(
token,
operator.address,
"ipfs://your-new-metadata-cid",
),
);

The admin can replace the link, hand the role on (buildTransfer, then buildAccept by the new admin) or give it up for good (buildRenounce). It can do nothing else: not the name, the symbol, the supply or the fees. Your launchpad's metadataAdmin switch allows the option.

Holder rewards​

Every coin pays its holders. Part of each fee is set aside for the wallets that hold the coin, by balance. There is nothing to stake.

SourceSizePaid inSet by
Half of Bankr's cut of every fee5% of each feeBNKR where the quote token has a route to it, otherwise the quote tokenAlways on
holderShareBpsA new launchpad's default is 11.67% of the creator sideThe quote tokenThe launch
vestToHoldersA slice of the supply, released over timeThe coin itselfThe launch

How rewards reach holders:

Launch optionWhat it setsLimitA new launchpad allowsDefault
holderStream.secondsHow long each amount that arrives streams out to holders1 to 30 daysFixed at 1 day1 day
holderStream.restartBpsThe share of what is still streaming that a top-up must reach to restart the clock0.01% to 100%Fixed at 10%10%
await client.launch({
...launch,
holderShareBps: percentToBps("50"), // half of the creator's own take goes to holders
});

Fees explains what holders are paid in and how they claim.

Auto-LP and buyback timing​

Auto-LP fees wait in the contracts as a backlog. A compound is one move of part of that backlog into the pool's locked liquidity, inside an ordinary trade. A buyback fill works the same way. No service has to run for either. Their shares are in Fee shares. These options set when they run:

Launch optionWhat it setsA new launchpad
autoLp.intervalSecondsThe least time between two compoundsFixed at 300 seconds
autoLp.shareBpsThe most of the backlog one compound placesFixed at 25%
autoLp.deviationTicksHow far the price may sit from its average for a compound to runFixed at 488 ticks
autoLp.band{ halfWidthTicks, gridTicks }: where the liquidity is placedFixed at 6,800 and 2,000 ticks
autoLp.floor, autoLp.capThe backlog a compound needs, and the most one placesThe quote token's: 0.1 and 0.2 WETH, or 250 and 500 USDC
buyback.intervalSecondsThe least time between two buyback fillsFixed at 300 seconds
buyback.retrySecondsThe wait after a fill that could not runFixed at 60 seconds

A new launchpad fixes each at one value. Open a range with the knob of the same row in Every knob. A launch names its own floor and cap only where the launchpad's launchCompoundAmounts switch is on.

An option for a feature the launch leaves off is refused with OPTION_FOR_FEATURE_OFF, never dropped: buyback.intervalSeconds with no buyback share, or autoLp.band with autoLpBps: 0.

Scheduled start​

A launch can create its token and pool now and open trading later. Until the start, swaps revert and no wallet can move the token.

Launch optionWhat it setsLimitA new launchpad allowsDefault
startTimeWhen trading opens: a Date or Unix seconds7 days aheadUp to 7 days aheadAt launch
const { tradingStart } = await client.launch({
...launch,
startTime: new Date(Date.now() + 60 * 60 * 1000), // trading opens in one hour
});
console.log(tradingStart); // the start, in Unix seconds
  • Everything on a clock counts from the start: the opening fee, the wallet cap, every vesting schedule and an extension's window.
  • Nobody can move the start once the launch lands.
  • A first buy inside the launch still works. The launcher receives the tokens and cannot move them before the start.
  • client.tradingStatus(token) reads whether a coin trades yet.

Your launchpad limits how far ahead a start may be with the startDelaySecs knob. A max of 0 allows no scheduled start.

Extensions​

An extension gives a coin its own trading rule, such as a sniper tax. Extensions covers the option. Your launchpad decides which a launch may use:

SettingWhat it doesA new launchpad
extPresets switchAllows the built-in extensionsOn
setPresetLimitsAllows or refuses one built-in extension, and sets its longest windowEach allowed
extQuoteOnly, extCallsOut switchesAllow custom extension codeOff
extMaxPips knobThe most an extension, built-in or custom, may add to a feeUp to 10%
feeCeilingPips knobThe most the coin's fee and the extension's fee reach togetherFixed at 10%

Takeover​

A takeover moves the creator's share of an abandoned coin's future fees to a new recipient, after a public notice of 48 hours. An authority that Bankr appoints carries it out.

It is off on your launchpad. Only you can switch it on, and only for coins launched afterwards:

await send(await launchpads.setTakeover(launchpadId, true));

A coin launched while it is off can never be taken over. A takeover never touches money already earned, your payees or any other term of the coin.

Every launchpad setting​

launchpads.configure(id, { knobs, switches }) changes any number of these in one transaction. Set up a launchpad shows how.

Every knob​

A knob is { min, max, default }. Fees are in pips: 10,000 pips is 1%. Shares are in bps: 100 bps is 1%.

KnobWhat it setsA new launchpad's rangeDefaultLimitA launch names it with
steadyPipsThe trading fee, each direction, once any opening fee has decayed (pips)500 to 100,000500500 to 999,999fees, schedule
startPipsThe fee a launch may open at before it decays (pips)0 to 800,00000 to 999,999fees, schedule
decaySecsHow long the opening fee takes to fall to the steady fee (seconds)0 to 12000 to 120fees, schedule
referrerBpsA referrer's part of each fee (bps of the fee)fixed at 000 to 10,000referrerBps
holdersBpsThe coin's holders' part of the creator side (bps)0 to 10,0001,1670 to 10,000holderShareBps
autoLpBpsAuto-LP's part of the creator side (bps)0 to 10,0003,0000 to 10,000autoLpBps, autoLp.bps
buybackBpsThe buyback's part of the creator side (bps)0 to 10,00000 to 10,000buybackBps, buyback.bps
vestBpsThe creator's vested slice of supply. The top also counts allocations (bps)0 to 5,0001,5000 to 9,999vesting.bps, allocations
vestToHoldersBpsThe most of supply a launch may vest to its holders (bps)0 to 5,00000 to 9,999vestToHolders.bps
vestedTotalBpsThe most of supply vested in all: creator, allocations and holders (bps)0 to 5,0000 to 9,999a ceiling
vestToHoldersSecsHow long a vest to holders runs (seconds)86,400 to 31,536,00031,536,0000 to 2^32 - 1vestToHolders.durationSeconds
vestCliffSecsThe creator's cliff (seconds)fixed at 2,592,0002,592,0000 to 2^32 - 1vesting.cliffSeconds
vestSecsThe creator's vest, start to fully unlocked (seconds)fixed at 31,536,00031,536,0000 to 2^32 - 1vesting.durationSeconds
supplyThe total supply (whole tokens)1 to 100,000,000,000100,000,000,0001 to 1,000,000,000,000,000,000supply
capBpsThe wallet cap's size (bps of supply)fixed at 2002000 to 10,000walletCap.bps
capSecsThe wallet cap's length. A top of 0 means no cap (seconds)fixed at 86,40086,4000 to 2^32 - 1walletCap.seconds
devBuyMaxBpsThe most of supply a first buy inside the launch may take (bps)0 to 2000 to 10,000a ceiling on devBuy
startDelaySecsHow far ahead a scheduled start may be (seconds)0 to 604,8000 to 604,800a ceiling on startTime
startFdvUsdThe starting market cap on a quote token Bankr prices (whole USD)2,000 to 125,000,00010,0000 to 2^64 - 1curve.startFdvUsd
metadataBytesThe longest metadata link (bytes)0 to 2,0480 to 2,048a ceiling on metadataUri
feeRecipientsHow many fee recipients a launch may name1 to 101 to 10a ceiling on feeRecipients
compoundIntervalSecsThe least time between two auto-LP compounds (seconds)fixed at 3003001 to 31,536,000autoLp.intervalSeconds
compoundShareBpsThe most of the backlog one compound places. 0 is no share cap (bps)fixed at 2,5002,5000 to 10,000autoLp.shareBps
compoundDeviationTicksHow far the price may sit from its average for a compound to run (ticks)fixed at 4884881 to 1,800autoLp.deviationTicks
bandHalfWidthThe compound band's half width (spacings of 200 ticks)fixed at 34341 to 8,872autoLp.band.halfWidthTicks
bandGridThe grid the compound band snaps to (spacings of 200 ticks)fixed at 10101 to 8,872autoLp.band.gridTicks
buybackIntervalSecsThe least time between two buyback fills (seconds)fixed at 300300300 to 31,536,000buyback.intervalSeconds
buybackRetrySecsThe wait after a fill that could not run (seconds)fixed at 606060 to 31,536,000buyback.retrySeconds
rewardStreamSecsHow long a deposit of holder rewards streams (seconds)fixed at 86,40086,40086,400 to 2,592,000holderStream.seconds
feeCeilingPipsThe most the fee and an extension's fee reach together (pips)fixed at 100,000100,0000 to 999,999feeCeilingPips
extMaxPipsThe most an extension, built-in or custom, may add to a fee (pips)0 to 100,0000 to 16,777,214a ceiling on extension
curveMinDepthDivOwn bands: a band holds at least 1 / this of a flat curve's depthfixed at 10101 to 2^32 - 1a rule for curve
curveMaxDensityOwn bands: a band holds at most this many times the flat depth leftfixed at 221 to 2^32 - 1a rule for curve
curvePlaceTicksOwn bands: the reach, from the start, that must hold most of the sale (ticks)fixed at 120,000120,0000 to 1,774,400a rule for curve
curvePlaceBpsOwn bands: the part of the sale placed inside that reach (bps)fixed at 9,0009,0000 to 10,000a rule for curve
curveDustPpmOwn bands: the most of the sale rounding may leave unplaced (parts per million)fixed at 220 to 1,000,000a rule for curve
padShareBpsThe contracts' ceiling on what a launchpad's payees take together. Setting it on your launchpad changes nothing (bps)0 to 10,0000 to 10,000a ceiling on your payees
rewardRestartBpsThe part of the stream left that a top-up must reach to restart it (bps)fixed at 1,0001,0001 to 10,000holderStream.restartBps

A row with no default is a ceiling: a launch may go up to its top.

Every switch​

A feature launches only where your launchpad has its switch on.

SwitchA new launchpadOn, a launch may
devBuyonBuy the coin in the launch transaction.
allocationsonGive slices of the supply to other wallets.
capExclusionsonExempt wallets from the wallet cap.
metadataAdminonName an account that can replace the metadata link.
takeoveroffNothing. It decides whether your future coins can be taken over.
unlistedQuotesonPair with a token Bankr does not list.
extPresetsonUse one of the built-in extensions.
extQuoteOnlyoffUse custom extension code that only quotes a fee.
extCallsOutoffUse custom extension code the hook also calls after each swap.
extOwnerSwitchonUse an extension that charges a fee. Bankr can then stop that extension's fee.
launchCompoundAmountsoffName its own auto-LP floor and cap.

Every built-in extension charges a fee, so it needs extOwnerSwitch on.

Every feature has an off state​

FeatureOff for your launchpadOff for one launch
Wallet capcapSecs with a max of 0walletCap: false
Creator vestingvestBps with a max of 0vesting: { bps: 0 }
Extra allocationsThe allocations switchNone named
A vest to holdersvestToHoldersBps with a max of 0None named
BuybackbuybackBps with a max of 0buybackBps: 0
Auto-LPautoLpBps with a max of 0autoLpBps: 0
The creator's holder shareholdersBps with a max of 0holderShareBps: 0
Snipe protectiondecaySecs with a max of 0A flat schedule
A first buyThe devBuy switchNo devBuy
ReferrersreferrerBps with a max of 0referrerBps: 0
ExtensionsThe three ext… switchesNo extension
Custom liquidity bands"any" not allowed, and no bands listedA built-in curve
A scheduled startstartDelaySecs with a max of 0No startTime
A metadata adminThe metadataAdmin switchNo metadataAdmin
TakeoverThe takeover switch. It starts off.Not a launch's choice
Quote tokens Bankr does not listThe unlistedQuotes switchA listed quote token
New launcheslaunchpads.setPaused(id, true)

Every launch option​

client.plan(input) and client.launch(input) take the same input. Only name, symbol, launcher and launchpadId matter for a first launch. Every other option has a default.

OptionDefaultWhat it names
name, symbolRequired1 to 100 and 1 to 20 characters.
launcherRequiredThe account that sends the launch. It pays any first buy and is the default fee and vesting recipient.
launchpadId0nThe launchpad. Always pass it: launchpad 0 is Bankr's own and takes only launches Bankr signs.
quote, startFdvWETHQuote tokens
metadataUri, metadataAdminEmpty, nobodyMetadata
schedule or feesThe launchpad'sFees and snipe protection
referrerBps, holderShareBps, autoLpBps, buybackBpsThe launchpad'sFee shares and payees
feeRecipient or feeRecipientsThe launcherFee shares and payees
allowContractFeeRecipient, allowOpenCodeFeeRecipientsfalseWaivers for a fee recipient that is a contract.
claimOperatorNoneThe wallet that may claim for a contract fee recipient, on a coin that can be taken over.
supply, curveThe launchpad's, "runner_v1"Supply and the curve
vesting, allocations, vestToHoldersThe launchpad's, none, noneVesting and allocations
walletCap, capExclusionsThe launchpad'sWallet cap
devBuyNoneFirst buy
holderStreamThe launchpad'sHolder rewards
autoLp, buybackThe launchpad'sAuto-LP and buyback timing
startTimeAt launchScheduled start
extension, feeCeilingPipsNone, the launchpad'sExtensions
saltChosen by the SDKA single-use bytes32 of your own.
deadlineSeconds1,200How long the launch stays valid. Raise it for a Safe or an ERC-4337 launcher.

The client's options​

createLaunchClient(options):

OptionDefaultWhat it is
chainRequiredThe chain's name, such as "base". Chains and addresses lists them.
publicClientBuilt from rpcUrlAny viem public client, for reads and simulations.
rpcUrlThe chain's public RPCYour own RPC URL. Required on Arc. Recommended on Robinhood Chain, Ethereum and BNB Chain, whose public RPCs are limited.
walletClientNoneSigns client.launch. Not needed to plan or to build unsigned transactions.
authorizerNoneApproves launches on a launchpad that has a signer. Launch for your users
apifalseapi: {} registers each launch with Bankr's launch index. Reading launches
builderCodesNoneERC-8021 builder codes appended to the launch's calldata.
appendBankrBuilderCodefalseAlso append Bankr's own builder code.
addresses, forkThe SDK's ownFor a local fork of the contracts. Never set fork against a live chain.

When a value is refused​

client.plan reads the launchpad, fills what you left out from its defaults, and asks the contracts for the terms the coin would get. A refusal is an SDK error with a stable code, and err.detail is a sentence in the launchpad's own numbers.

CodeWhenA detail you might see
OUTSIDE_LAUNCHPAD_RANGEA term is outside the launchpad's range."The wallet cap's length is fixed at 1 day on this launchpad."
FEE_OUT_OF_BOUNDS, SPLIT_OUT_OF_BOUNDS, VESTING_OUT_OF_BOUNDSThe same, for a fee, a share of the fee or a vesting term."The trading fee must be between 1% and 2% on this launchpad."
NOT_ALLOWED_BY_LAUNCHPADThe launch uses a feature the launchpad has switched off."This launchpad does not allow builder allocations."
OPTION_FOR_FEATURE_OFFThe launch names an option of a feature it leaves off."feeCeilingPips is a term of a launch with an extension."
EXTENSION_OUT_OF_BOUNDS, EXTENSION_NOT_ALLOWEDAn extension parameter is outside its bound, or it cannot launch here."Sniper Tax buy fee can be at most 100,000 pips on this launchpad."
HARD_BOUNDOne of the few rules no setting moves, such as shares adding up.

Errors lists every code.