TAMAYA
What the program actually does

Rules & fees

Everything below is enforced by the on-chain program Tama1Fy2…. Numbers are read live from it.

Barges and tubes

There are three barges: Senko, Botan and Kiku. Each counts its launches. Launch number n on a barge takes tube n of that barge's fuse and keeps that place for good: tubes never move and never mix barges. A coin is retired when it has had no trades for a day; a retired tube no longer sparks, so the fire stops there. The program re-reads the pool before retiring and refuses if the coin traded.

Volleys

Each barge runs fixed-length volleys. At the start of a volley every live coin takes a mark: its pool's fee counter. When the volley ends each coin is tallied: if the counter grew, somebody traded it (a buy or a sell), and it sparked. A coin launched after a volley ended sits that volley out; the opening buy of a launch never counts.

Powder

Part of every trading fee on every coin of a barge flows into that barge's powder: one shared account held by the program. The keeper claims fees into it as they build up. Nobody can withdraw powder: the program only spends it on bursts.

The draw and the cascade

When a volley ends and every live coin is tallied, the program checks two things: did at least one coin spark, and is the powder at the barge's threshold? If not, the next volley starts at once and the powder keeps drying. If yes, it fixes a draw slot three slots ahead. Once that slot is produced, its hash (read from the SlotHashes sysvar, so nobody knows it in advance) picks one of the sparked coins. That tube is lit.

The fire then runs down the fuse in launch order. It jumps to the next tube only if that coin sparked in the same volley, and stops at the first quiet or retired one, after 12 tubes, or when the next share would fall below 0.004 SOL. The lit tube gets half the powder, the next one half of what is left, and so on; the last tube of the chain takes the remainder. Each share buys back its own coin on its pool and burns every token bought. The burst's own buy never counts as a spark.

Shares are reserved until they burst. If a share has not burst by the end of the next volley, it flows back into the powder.

Graduation

At about 405 SOL market cap a curve fills and Meteora migrates it to a DAMM v2 pool. The coin keeps its tube: its mark moves to the DAMM v2 fee counter, and its bursts buy on DAMM v2.

Fees

Launching

One transaction, one signature: it creates a plain Token-2022 mint (no mint, freeze or update authority, no transfer hook), opens its Meteora curve, loads the coin onto the barge you pick and runs your opening buy. If any step fails, nothing is created. The first coin of the festival is launched by the festival itself; the program refuses any other first launch.