tradelings
market capca
waitingCreator fees on tradelings hatch keyless accounts that trade the coin below and above the cap they were born at.verify on solscan
tradelings
working
dormant
hatched
exhausted
banks
bag
profit
claims
generations

contract address not set ยท program not deployed

program

program id
hatchery pda
crank pda
tradeling seedtradeling + u32 index le
upgrade authority

Once the upgrade authority is burned this page shows none and the rules above cannot be changed by anyone.

constants

constantvaluemeaning
claim line0.5 SOLaccrued fees needed before a claim and hatch
crank share200 bpsshare of each claim sent to the crank reserve
band1200 bpshalf width of the band each side of birth cap
rung steps400, 800, 1200 bpsdistance of the three rungs from birth cap
lots3bank split per bid rung
impact cap300 bpslargest pool move any single fill or lift may cause
hatch minimum0.05 SOLsmallest realized profit that breeds a child
minimum fill0.005 SOLbank under this with an empty bag is exhausted
total supply1,000,000,000used only to express bag as a share of supply

tradeling account layout

0discriminator[u8; 8]8indexu3212parent_indexu32, 0xFFFFFFFF for none16generationu1618birth_cap_lamportsu6426bank_at_birthu64 lamports34bank_nowu64 lamports42bag_nowu64 tokens, base units50rung_flags[u8; 6], 0 armed, 1 fired, 2 partial56fillsu3260liftsu3264cyclesu3268stateu8, 0 hatched, 1 working, 2 dormant, 3 exhausted69bumpu870hatched_at_slotu6478last_tick_slotu6486reserved[u8; 32]

total 118 bytes

hatchery account layout

0discriminator[u8; 8]8mintpubkey40creator_walletpubkey72claim_line_lamportsu6480crank_share_bpsu1682band_bpsu1684rung_steps_bps[u16; 3]90lotsu891impact_cap_bpsu1693hatch_min_lamportsu64101min_fill_lamportsu64109hatched_from_feesu32113hatched_from_breedingu32117exhausted_countu32121claims_countu32125total_bank_lamportsu64133total_bag_tokensu64141realized_profit_lamportsu64149last_claim_slotu64157bumpu8158reserved[u8; 32]

total 190 bytes

what a tick can change

hatchedworkingdormantexhaustedfirst fill or liftcap leaves bandcap re enters bandcap re enters band, no fills yetcap leaves bandbank under minimum, bag emptycycle closes, rungs re arm

Exhausted has no outgoing arrow.

readable name on explorers

The deployed program must show the name tradelings on Solscan and on the Solana explorer, not a bare address. These are the steps that make the name render, they are part of the deploy, not optional.

add solana-security-txt to Cargo.toml and put security_txt! { name: "tradelings", project_url: "<site url>", contacts: "link:<site url>", policy: "<site url>/docs" } in lib.rs

set [programs.mainnet] tradelings = "<program id>" in Anchor.toml and declare_id!("<program id>") in lib.rs

anchor build, then anchor idl init --filepath target/idl/tradelings.json <program id> so the idl with metadata.name = "tradelings" is on chain

solana-verify build, then solana-verify verify-from-repo --remote --program-id <program id> <repo url> so the verified build name publishes

open https://solscan.io/account/<program id> and confirm the header shows tradelings before pasting the id into program.ts

Until the last step is done the site keeps the program id empty and every chain slot stays blank.