Program

Addresses

The address of the kodama program and of every fixed account and program it works with, how each is derived, and the route that answers the program's own.

Kodama's own addresses

The program has three addresses that exist once for the whole grove, each derived from the program id alone. Every other account belongs to one tree and is derived from a mint or a wallet: Accounts has the seeds.

AccountSeedsHolds
GrovegroveThe fee shares, the day length and the stage thresholds.
BurnerburnerThe protocol's share of every harvest. A system-owned address with no data and no key.
Event authority__event_authoritySigns the program's event calls to itself.

So one address fixes all of them. GET /v1/platform answers it:

Shell
curl https://api.kodama.example/v1/platform
FieldTypeMeaning
programIdstringThe address of the kodama program the API builds for.
clusterstringThe cluster it is on.
lookupTablesstring[]The address lookup tables every built transaction compiles over.

The rest of that response is on Coins and trees.

Raydium's programs

The program calls three Raydium programs. Their addresses are written into the program.

ProgramAddressUsed for
Raydium LaunchLabLanMV9sAd7wArD4vJFi2qDdfnVhFxYSUg6eADduJ3ujCreating a coin on its curve, buys through an echo on the curve, claiming a tree's platform fees.
Raydium CPMMCPMMoo8L3F4NbTegBCKVNunggL7H1ZpdTHKxQB5qKP1CBuys through an echo on a graduated pool, collecting the pool's creator fee.
Raydium LP-LockLockrWmn6K5twhz3y9w1dQERbmgSaRkfnTeTKbpofwECollecting the locked liquidity's fees through the Fee Key.

Raydium's fixed accounts

These accounts of Raydium's are the same for every tree. Instructions that take them check them against these addresses.

AccountAddressSeeds, under its program
LaunchLab global config for SOL6s1xP3hpbAfFoNtUNF8mfHsjr2Bd97JxFJRWLbL6aHuXglobal_config, the wrapped SOL mint, curve type 0, index 0
LaunchLab vault authorityWLHv2UAZm6z4KyaaELi5pjdbJh6RESMva1Rnn8pJVVhvault_auth_seed
LaunchLab platform fee vault authority56XVRVAsgWv6ADaxzoNnbL38LMoWKM5WiSAhrAWUbd2pplatform_fee_vault_auth_seed
LaunchLab creator fee vault authority9sHpTfmVpCfP2zexRNK6j38NBchMv1RWpdXPK5NEcZancreator_fee_vault_auth_seed
LaunchLab event authority2DPAtwB8L12vrMRExbLuyGnC7n2J5LNoZQSejeQGpwkr__event_authority
CPMM tier of every graduated poolDDjMX8BNVQjprycffhhPFgWaL1SVx6nB8wBVrkcPasktRaydium's fee tier 21
CPMM authorityGpMZbSM2GgvTKHJirzeGfMFoaZ8UR2X7F4v8vHTvxFbLvault_and_lp_mint_auth_seed
LP-Lock authority3f7GcQFG397GAaEnv51zR6tsTVihYRydnydDD1cXekxHlock_cp_authority_seed
Raydium's launch lookup tableAcL1Vo8oy1ULiavEcjSUcwfBSForXMudcZvDZy5nzJkUThe first entry of lookupTables

A tree's own Raydium accounts (its platform config, its pool on the curve, its vaults, and after graduation its CPMM pool and Fee Key) are derived from the tree's purse and mint. Fee routing and cranks names each one where a crank needs it.

Other programs and mints

Program or mintAddress
Wrapped SOL mintSo11111111111111111111111111111111111111112
Metaplex Token MetadatametaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s
MemoMemoSq4gqABAXKb96qnH8TysNcWxMyWCqXgDLGmfcHr
TokenTokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA
Token-2022TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb
Associated TokenATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL
System11111111111111111111111111111111