Skip to main content

Chains and addresses

The Launch SDK supports six chains. This page lists each chain's name in the SDK, its quote tokens and the address of every contract.

Chains​

ChainSDK chain nameChain idQuote tokens Bankr listsDefault quote tokenGas tokenRegistration bondHolders' share of Bankr's cut is paid in
Base"base"8453WETH, USDC, AAPLcWETHETH0.01 ETHBNKR
Robinhood Chain"robinhood"4663WETH, USDGWETHETH0.01 ETHBNKR
Arbitrum"arbitrum"42161WETH, USDCWETHETH0.01 ETHThe quote token
Arc"arc"5042USDCUSDCUSDC25 USDCThe quote token
Ethereum"ethereum"1WETH, USDCWETHETH0.01 ETHThe quote token
BNB Chain"bnb"56WBNB, USDT, USDCWBNBBNB0.05 BNBThe quote token

Pass the name as chain. There is no default chain.

// client.ts
import { createLaunchClient } from "@bankr/launch-sdk";

export const client = createLaunchClient({
chain: "base",
rpcUrl: process.env.BASE_RPC_URL, // your own RPC URL
});
  • Pass your own RPC URL. Without one the client uses the chain's public RPC, which is rate-limited. Arc has no public RPC, so rpcUrl or a publicClient is required there.
  • A launch can pair with any other ERC-20 too, on a launchpad that accepts it. Quote tokens says what changes on a token Bankr does not list.
  • A first buy on WETH is paid in ETH with the launch, and one on WBNB in BNB. On Arc, and on any other quote token, it is paid in the token after one approval.
  • USDT and USDC have 18 decimals on BNB Chain, not 6. A 25 USDC first buy there is 25n * 10n ** 18n. client.chain.quotes holds each named quote token's decimals.
  • A launch must fit in one transaction. A default launch uses about 7.5 million gas, and more with many fee recipients, payees or allocations.

Check a chain before you register​

const status = await client.status();
console.log(status.paused, status.gated);
FieldMeaning
pausedNew launches are paused on the chain. Trading and claims go on.
gatedThe chain takes launches on Bankr's own launchpad only.

A launchpad you register launches only where both are false. Registration goes through on every chain, and its bond is not refunded.

Contract addresses​

Always take addresses from the SDK. client.provider.addresses holds the client's chain:

console.log(client.provider.addresses.factory);
console.log(client.provider.addresses.launchpadRegistry);

The contracts have the same addresses on every chain but Base.

ContractBaseEvery other chain
Factory0x8cdE4Edb9A51909eef93F102f5Ce1b950769792E0x2F2FDedE5b61D9B624462FB9e138913fD2620427
Settings0xdaaee43D50D7b081C6b990eD362E2d4cFc56e1aa0x7fD2Bd17387e3dA342db0952Ba0b2f250114Fda2
Launchpad registry0x893Bfef8dD523e9cf28f91498eE305Cbeb37ac800x893Bfef8dD523e9cf28f91498eE305Cbeb37ac80
Hook0xf8Df392d399aF9c1235B02e5df8c56fEdb7978Cc0xf8Df392d399aF9c1235B02e5df8c56fEdb7978Cc
Fee ledger0x7C836e937831Cd5931A1ACbB9117dF9714D7d1F70x15e5F60817ee337f58A0B6c34b905C7C2dBC2F64
Holder leg0x022624267f01a1F034809943bDB5d92F256d59910xB25d2E3e72a00bDd97d47cF8e22B3BE6C74A38A8
Locker0x9525077330d2f7954CC85820227921acD7BD45ff0x6436f3A1755a11553af9E0399dFf3d5c1ddbA5f6
Buyback0x54EC7852807D3F002EB64b360fC06C938c8b71f70xce14daAF9f405BF18382022C3cA335C9Faf92D55
Terms lens0x0Ec2F172D558FA1289B695C06B8d265C8795F43F0xeDd74F56afDc34d9Bf6a083C580588514dd4aA62
Claims redeemer0x5AF6F17dB59f7E7d7279184900446AbCf127B5460x5AF6F17dB59f7E7d7279184900446AbCf127B546
Owner0xa73215E8226258e1A367C85A728AD346172d65300xa73215E8226258e1A367C85A728AD346172d6530

What each contract does:

ContractWhat it does
FactoryLaunches every coin.
SettingsHolds every launchpad's ranges, defaults and switches, and the list of quote tokens. Checks every launch.
Launchpad registryHolds who each launchpad is: its operator, signer, address suffix and link.
HookThe Uniswap v4 hook on every pool. Takes each fee and asks a pool's extension.
Fee ledgerSplits every fee and holds each party's share until claimed.
Holder legConverts the holders' share to BNKR where a route exists, and pays each coin's holders.
LockerHolds every pool's liquidity. It has no function to remove it.
BuybackSpends buyback shares and burns what it buys. It has no owner.
Terms lensReads a coin's stored terms and checks them against its record.
Claims redeemerTurns an extension payee's claim tokens into the quote token.

The Owner row is not a contract. It is the account that owns the contracts on that chain. What is fixed at launch lists what it can and cannot change.

Each launch also creates its own contracts: the token, its holder-rewards contract and, when something vests, a vesting escrow. client.launch returns their addresses.

On a local fork​

To run against a local fork of a chain, point the client at your node and set fork:

// fork-client.ts
import { createLaunchClient } from "@bankr/launch-sdk";

export const forkClient = createLaunchClient({
chain: "base",
rpcUrl: "http://127.0.0.1:8545", // for example, `anvil --fork-url <your Base RPC>`
fork: true,
});

Reads from Bankr's launch index do not see a fork's launches. Never set fork against a live chain.