NIKA: One Year of Seconds, One Winner a Minute ============================================== A token on TON, capped at one year of seconds and minted only as it is won, whose every minute is a game: a public randomness beacon draws the winner among those who collected unicorns in it, each with a chance that grows with its unicorns of the minute, the reward halves every four calendar months, and NIKA moves in chats at once and without a fee Specification and whitepaper, revision 2.1, 3 December 2026. Draft for the cryptography mailing list (Metzdowd) and for the reviewers of the contracts. It supersedes revision 2.0 [V2], whose equal division of every window is replaced by a game of the minute, and it restores from v1.0 [V1] the single winner of a minute and the halving every four calendar months, now made verifiable; nothing is minted in advance, and a minter without an admin mints only what a winner claims. Every number in this text is computed in integer arithmetic, by the reference program of Appendix B or from the parameters of section 3, and no number was typed from memory. Abstract -------- NIKA is a meme token on TON whose supply limit, 31 536 000 NIKA, equals the number of seconds in a 365-day year. No unit is minted in advance: the minter has no admin, and a unit exists on TON only when a winner claims it. Every 60-second window is a game: each participant present collects unicorns by tapping the coin, at most 13 a second, and the count starts from zero in every window. The whole reward of the window goes to one of those who collected at least one unicorn in it, drawn by a public randomness beacon published only after the set of the window and its counts are committed, so that neither the operator nor any participant chooses or foresees the winner; the weight of a participant is one plus the integer square root of its unicorns of the window, so that more unicorns give a larger chance and one unicorn still gives a chance. The reward of a window is 60 NIKA, halved at the start of every period of four calendar months, released in its own window or not at all: a window in which no one collected a unicorn releases nothing. Participants transfer NIKA to one another inside the timechain, in Telegram chats, at once and without a fee, and TON settles balances by claim. Each window is one record of a hash-linked timechain anchored on TON, and anyone can recompute every draw from public data. We state the rule in integers and prove conservation, that the release never runs ahead of the halving schedule, and that the draw selects in proportion to weight; we show that the halving releases between 20.9 and 21.2 million NIKA, about two thirds of the supply, over twelve years, and we say so rather than hide it; we give a threat model in which the operator is the adversary, including the bias of a draw; and we give test vectors, each refusing a named wrong implementation, and a reference program. 1. Introduction --------------- How a token is distributed decides who holds it. The common patterns for a meme token are an allocation to the team, a sale along a bonding curve in which the fastest capital buys the cheapest units, an airdrop by criteria the issuer chooses after the fact, and a points programme whose conversion into the token the operator decides. In each of them the rule that decides who receives what is private, discretionary, or rewards speed and capital. NIKA is a testbed of viral mechanics, and its rule is chosen to be felt in one minute: whoever collects unicorns in this minute may win the minute, and more unicorns give a larger chance. The rule is fixed before the first window and is the same for every participant, and the winner of every minute can be recomputed by anyone from public data. Three mechanics carry the design: a game every minute, whose winner is drawn by randomness no party holds; a halving by the calendar, which makes early presence worth more and gives the year a visible countdown; and transfers inside the chat where people talk, at once and at no cost. NIKA borrows the timechain and the integer discipline of Montana [MONTANA], and departs from its monetary axioms on purpose: Montana excludes a lottery of emission, a halving and any weight by holdings [MONTANA 2.7], and NIKA has all three. A reader who knows Montana should read NIKA as an experiment on those three choices, not as an application of the Montana rule. The contributions of this paper are: 1. an integer release rule with a game, a weighted draw and a calendar halving, with proofs of conservation, of the schedule bound and of proportional selection among the players (section 4); 2. a per-window timechain, presence recording, fee-free transfers in chats and claim-based settlement on TON (sections 5 to 9); 3. a threat model with the operator as an adversary, including the bias of a draw (section 10), and a Sybil bound by admission priced in time (section 11); 4. an analysis of the social design (section 13) and a comparison with other distribution rules (section 14); 5. test vectors and a reference program (Appendices A and B). What this paper does not claim: that a participant is a unique human, that NIKA has or will have any price, that the draw is legal as a game of chance in any jurisdiction, or that any part of the system is implemented or audited. It is a specification. 2. Principles ------------- 1. One window, one winner. Every 60-second window gives its whole reward to one participant who collected at least one unicorn in it (section 4). 2. Randomness that no one holds. The winner is drawn from a public beacon published after the set of the window is committed; neither the operator nor a participant can choose or foresee it (section 4). 3. Weighted by the minute. The chance of a participant grows with its unicorns of the window and with nothing else; the count starts from zero in every window, so a newcomer and a veteran begin every minute equal (section 3). 4. Halving by the calendar. The reward of a window is 60 NIKA, halved at the start of every period of four calendar months (section 4). 5. Every window releases its own reward. A window releases its reward to its winner or releases nothing; no reward moves to another window and nothing is kept in advance: no unit is minted before it is claimed (section 8). 6. Integers only. Every quantity is a non-negative integer in the smallest unit of NIKA; the only division is the floor division. 7. Time is a chain, not a clock reading. Every window is one sealed record of the NIKA timechain (section 5). 8. One owner of every fact. Every parameter is defined in one place, the table of section 3, and every other section reads it from there. 9. Instant and free to move. NIKA moves between participants inside a chat at once and without a fee (section 9); TON is needed only to take it out. 10. Social by design, not by payment. Every part of the system is designed to be seen and shared (section 13); inviting, sharing or posting releases nothing. 3. Model and notation --------------------- NIKA is a Jetton on TON [TEP-74]. The table below is the single source of every parameter of this specification. The parameters marked «open» are fixed before launch (section 15.3) and enter this table, and no other place, when they are. Parameter Symbol Value Token name Nika Unicorn Symbol NIKA Decimals 9 Smallest unit u 10^-9 NIKA Supply limit S 31 536 000 NIKA = 31 536 000 000 000 000 u Window length W 60 seconds Reward before halving R 60 NIKA = 60 000 000 000 u Halving period 4 calendar months, UTC Periods with a reward 36 (R / 2^36 is below 1 u) Weight of a participant w(u) 1 + ⌊√u⌋, u its unicorns in the window Unicorns a second T 13, at most (the taps of the coin) Randomness beacon drand quicknet [DRAND] Beacon delay Δ open (section 4) Transfer fee none Minting only to pay a proven claim (section 8); the minter has no admin Presence rule open (section 7) Continuity gate open (section 11) Settlement epoch E open (section 8) Genesis time G 00:00 UTC, 1 January 2027: the clock of the main network starts; the network is live before it Notation. Window n, for n = 1, 2, ..., is the interval [G + (n − 1) W, G + n W). For window n: k(n) is the number of halving periods that began before it, so that k(n) = 0 in the first period; r_n is its reward; L_n is the number of present participants; u_k is the count of unicorns of participant k in it; x_n is its winner; A_n is the cumulative release of windows 1 to n; C_n = r_1 + ... + r_n is the schedule. All amounts are integers in units u. 4. The release rule ------------------- Halving periods begin at G and at 00:00 UTC on the first day of every fourth calendar month after it. Each boundary is a whole number of minutes after G, so every window lies inside exactly one period. A period holds 172 800 to 177 120 windows (120 to 123 days). Definition 1 (the reward). r_n = ⌊R / 2^k(n)⌋ for k(n) ≤ 35, and r_n = 0 for k(n) ≥ 36. Since R / 2^35 is 1.7 units and R / 2^36 is below one unit, period 35 is the last with a reward, and it pays 1 u a window. Definition 2 (the window). For window n, if some u_k ≥ 1: x_n wins (Definition 3), x_n receives r_n, A_n = A_(n-1) + r_n otherwise: no winner, A_n = A_(n-1), A_0 = 0 Definition 3 (the game and the draw). During window n every present participant k collects u_k unicorns, the count of its taps on the coin accepted inside the window (section 7), an integer from 0 to T W; the count starts from 0 in every window. The players of window n are the present participants with u_k ≥ 1. Let β_n be the randomness of the first round of the beacon whose time is at least the close of window n plus Δ. Sort the players by identifier, k_1 to k_m, and give each the weight w_i = w(u_i) = 1 + ⌊√u_i⌋ of section 3. Let x be the integer SHA-256(β_n ‖ n), with n as 8 bytes big-endian, reduced modulo the total weight w_1 + ... + w_m. The winner is the first k_i for which x is below w_1 + ... + w_i. A single player wins whatever β_n is; a window without a player has no winner. Nothing but the counts of the window enters the weight: not a balance, not a count of an earlier window. Proposition 1 (conservation). Every window pays out its own reward r_n or nothing: it creates nothing beyond r_n and moves nothing to another window. Proof: immediate from Definition 2 in both cases. ∎ Proposition 2 (the release follows the schedule). For every n, A_n ≤ C_n, with equality exactly when every window from 1 to n had a winner: the cumulative release is never ahead of the halving schedule. Proof: by induction. For n = 0 both sides are 0. For n ≥ 1, A_n is A_(n-1) + r_n or A_(n-1), and C_n = C_(n-1) + r_n. ∎ Proposition 3 (proportional selection among the players). If β_n is uniform and unknown when the set of window n is committed, and SHA-256 is modelled as a random oracle, then player k_i wins with probability w_i / (w_1 + ... + w_m), up to an error below the total weight divided by 2^256. Proof: x is uniform below 2^256; reduction modulo the total weight is uniform up to that error, and k_i is chosen for exactly w_i of its values. ∎ Proposition 4 (the horizon). The release ends with period 35, twelve years after G, and the whole schedule is the sum over the 36 periods of the number of windows of period k times ⌊R / 2^k⌋. It is far below S. Proof: r_n = 0 from period 36; the sum is at most 2 × 60 × 177 120 = 21 254 400 NIKA. ∎ The schedule depends on the calendar month of G. For every genesis month from January 2027 to December 2030 the first year, the three periods of the first twelve months, releases 18 295 200 to 18 511 200 NIKA, and the whole schedule releases 20 908 968.788580480 to 21 152 576.700666720 NIKA. The remaining 10 383 423.299333280 to 10 627 031.211419520 NIKA are never released by the schedule, and they are never minted (section 8). With G at 00:00 UTC on 1 January 2027 the first year is exactly 525 600 windows and releases 18 316 800 NIKA, and the whole schedule releases 20 944 288.349020800 NIKA. Period k Months from G Reward per window (u) 0 0 to 4 60 000 000 000 1 4 to 8 30 000 000 000 2 8 to 12 15 000 000 000 3 12 to 16 7 500 000 000 12 48 to 52 14 648 437 34 136 to 140 3 35 140 to 144 1 36 from 144 0 Remarks. - An empty window releases nothing. Its reward is not carried, not kept and never minted: the reward of a window exists only in its own window. The release therefore falls behind the schedule by the reward of every window without a player, and never catches up. - The game and its ceiling. A count above T W = 780 cannot be accepted in a window, so the largest weight in a window is 1 + ⌊√780⌋ = 28 and the smallest of a player is 1 + ⌊√1⌋ = 2. A participant with one unicorn against one at the cap wins with probability 2 / 30, one in fifteen (Appendix A, vector V5). The root makes every further unicorn worth less: four times the taps give only about twice the chance. Against programs that tap at the cap the game is exactly as strong as section 11. - Expectation and variance. A player of weight w among players of total weight Σw expects r_n w / Σw a window, with the whole variance of a draw. The variance is the point of the design: one minute can make one participant 60 NIKA richer. - No feedback. The weight reads only the counts of the window, so a prize won adds nothing to the chance in any later window, and a balance, however large, adds nothing either. Every minute starts equal. - Integer width. S = 3.1536 × 10^16 u is above 2^53, so cumulative quantities cannot be held in IEEE-754 doubles without error. A 64-bit unsigned integer suffices, and Jetton amounts on TON are 120-bit (VarUInteger 16 in [TEP-74]). - Rounding. Only the floor is admissible: ⌊R / 2^k⌋ never exceeds R / 2^k, so no window releases more than the halved reward. Rounding to the nearest pays 2 u a window in period 35 (Appendix A, vector V2). 5. The timechain ---------------- The windows are recorded by the timechain engine used for the Montana operational chains [CHAIN]: a sequence of records, each sealed by SHA-256 over its body together with the hash of the record before it; the first record has a predecessor of 64 zeros. Changing or reordering any earlier record changes every hash after it. One record per window. Its body: Field Meaning n window number, consecutive from 1 open, close UTC seconds of the boundaries, close − open = W L number of present participants, L_n set_root Merkle root of the present participants and their counts of unicorns cand_root root of the present candidates (no chance) seed the beacon randomness β_n of the draw reward r_n winner x_n, empty when no one has a unicorn released A_n tx_root root of the transfers accepted in the window prev, hash the seal sig operator's signature of hash, outside the seal Encoding. Every sealed field is a non-negative integer or a string, so the body has one encoding: the JSON object with sorted keys exactly as the reference program writes it (Appendix B, function seal). The signature signs the hash and is therefore outside it. Sets and transfers are committed by Merkle trees with domain separation in the manner of [RFC6962]: a leaf hashes as SHA-256(0x00 ‖ leaf) and an inner node as SHA-256(0x01 ‖ left ‖ right), and an odd node is promoted to the next level unpaired. The leaves of set_root are the distinct participant identifiers in sorted order, each followed by a space and its count of unicorns in decimal; the leaves of tx_root are the accepted transfers in the order of acceptance. The tree is not built by duplicating the last node, so two different sets cannot share a root by duplication. Rules. 1. Commitment before the beacon. At the close of window n the operator signs and publishes the commitment (n, set_root, cand_root) and sends it to every client present. It must be published before the beacon round of the draw is emitted. A commitment received after that round is a fault visible to everyone who received it late, and two different signed commitments for the same n are a transferable proof of equivocation. 2. Seal after the draw. When β_n is emitted the operator draws, seals and signs the record. A sealed record whose set, seed or winner differs from the commitment and the beacon breaks the hash or fails recomputation. 3. Time inside the chain never runs backwards, and window n covers exactly the interval of section 3. 4. An outage changes no rule. Windows are slots of the calendar, because the halving is. Windows in which the operator accepted no heartbeat are sealed after the outage with empty sets and release nothing. 5. The operator signs every record and posts no bond in this version, so the consequence of a proof of fault is public and reputational, not a forfeit. 6. At the end of every settlement epoch the hash of the head is anchored on TON (section 8). After an anchor the chain cannot be rewritten without the anchor showing it. The reference program (Appendix B) seals and verifies every field of the body except open, close and cand_root, which are sealed the same way; it takes β_n as given, and the beacon signature is checked against the published key of the beacon [DRAND]. 6. The life of one window ------------------------- This section follows one window from its opening to the claim, with a window of 9 412 participants in the first period. 1. Opening. Window n opens. The Mini App of every participant shows the number of the window, its reward of 60 NIKA, the number of participants present so far, the leading count of unicorns, the participant's own count, which starts from 0, and the days left to the next halving. 2. The game. During the window each participant taps the coin, and its client sends heartbeats that name the window and its count of unicorns so far, signed with the participant's presence key (section 7). The operator answers each accepted heartbeat with a signed receipt naming the window, the participant and the count. 3. Commitment. At close the operator fixes the set, every admitted participant (section 11) with an accepted heartbeat inside the window and its last accepted count, here L_n = 9 412, and publishes the signed commitment of section 5, rule 1. Candidates not yet admitted are committed under cand_root and take no part in the draw. 4. Beacon. Δ seconds later the beacon emits β_n. No one could know it at the commitment. 5. Winner. The operator computes the winner by Definition 3, the draw among the players weighted by their unicorns of the window, credits it with the reward of 60 NIKA, and seals and signs the record. Every participant receives its inclusion proof against set_root and can recompute, alone, the winner from the set, its counts and β_n. 6. Sharing. The client of every participant shows the winner of the minute, and the winner's client produces a card of the window: its number, the prefix of its hash, L_n and the reward (section 13). 7. Anchor. At the end of the epoch the entitlement root and the head hash are anchored on TON (section 8). 8. Claim. Whenever the winner chooses, possibly years later, it claims its balance with a Merkle proof and a signature of its presence key naming the TON address to be paid, and the minter mints it to that address; or it moves the NIKA in a chat first (section 9). At no step does anything but the set, its counts and the beacon decide the winner. 7. Presence in a Telegram Mini App ---------------------------------- 1. A participant is a Telegram account in the NIKA Mini App together with an Ed25519 presence key generated by the client at binding, one presence key per account. The presence key is the identifier in the participant sets, in the transfers and in the entitlement tree; the TON address that receives a payment is named by the presence key at the moment of the claim. 2. A participant is present in window n when the operator accepted a heartbeat signed by its presence key inside [open, close) of window n, and by no other condition. 3. Unicorns. A heartbeat names the window and the participant's count of unicorns in it so far, the taps of the coin since the window opened. The operator accepts a count received t seconds after the open only if it is at most T (⌊t⌋ + 1) and not below the count it accepted before from the same key, and it answers with a receipt of the count; the set holds the last accepted count of every participant. How long a participant watched, how much it holds or how much it spent does not enter the game; only its count of the window. 4. The exact presence rule (an active screen, a heartbeat at a frequency to be fixed) is an open parameter of section 3. What a heartbeat proves. A heartbeat proves that the presence key was used by a client that reached the operator inside the window, and that the client claimed the count it names. It does not prove that the taps were a human's, that a human was looking at a screen, nor that the human is a different human from the owner of another key. Automated clients are a Sybil question, treated in section 11. The cost in privacy. Public verification of every draw requires publishing every participant set, which reveals the minute-by-minute presence pattern of every presence key, and every transfer, which reveals who sends to whom. Because the sets, the transfers and the entitlement tree name presence keys and not TON addresses, they are not linked to an address on TON until the participant claims; the claim links the presence key, and its whole history, to the address it names. Reducing this cost without giving up recomputation by anyone is an open problem. 8. Minting and settlement on TON -------------------------------- Paying a winner on TON every minute would cost one transfer a minute, and moving NIKA in chats on TON would cost one transfer each. Instead the timechain keeps the balances and TON settles them by claim, and a unit is minted on TON at the moment it is claimed and not before. 1. Minter. The Jetton minter [TEP-74] is deployed with a total supply of 0 and without an admin: no key can mint at will, change a parameter, pause it or upgrade it. It mints only to pay a proven claim (item 4), so at every moment the supply of NIKA on TON is the total claimed, and a unit that no one has won does not exist. The limit S is never reached: the schedule releases at most 21.25 million NIKA (Proposition 4), and the rest is never minted. 2. Epoch. A settlement epoch is E consecutive windows (open parameter; 1 440 windows would be one day of windows). 3. Entitlement root. At the end of an epoch the operator publishes a Merkle sum tree over the leaves (presence key, received, sent, sig) of every key that has ever won a window or received a transfer, sorted by presence key: received is the cumulative sum of its prizes and of the transfers it received, sent the cumulative sum of the transfers it sent, and sig the key's signature of that sent total from its last transfer, empty while sent is 0. Each inner node carries the sum of received − sent over its subtree. From the anchoring address fixed at deployment, whose only power is to propose a root, the operator sends to the minter one transaction carrying the root, its total T, the number n_a of the last window of the epoch and the timechain head hash. For a correct root, T = A at window n_a. 4. Claim. A participant, from any TON wallet, claims with a Merkle proof of its leaf under the root in force and a signature of its presence key naming the TON address to be paid. The minter checks both and sends received − sent to the claim record of the key, a contract whose address follows from the minter and the key; the record keeps what the key has already claimed, raises it to received − sent and answers with the difference, and the minter mints that difference to the named address. Because both counters are cumulative, a claim never expires and a later claim never pays twice. 5. Schedule cap. The minter holds, from deployment, the first window of each of the 36 periods, computed from G. It refuses an anchor whose total T exceeds C at window n_a or is below the total of the previous anchor (Proposition 2 makes both necessary conditions of every correct root), refuses an anchor whose n_a exceeds the number of whole windows since G by TON block time, and refuses any mint that would make the total minted exceed the T of the root in force; a refused mint returns to the claim record what it had raised. Even a fully malicious operator cannot mint faster than the halving schedule. 6. Challenge. A new root comes into force only after a challenge period (open parameter). During it, anyone who holds a proof of a leaf under the previous root submits it with a proof of the leaf of the same presence key under the new root, or of its absence between two adjacent leaves. The minter rejects the new root if received or sent is smaller, or if sent has grown and sig is not a valid Ed25519 signature of the new sent total by the presence key. The challenge is therefore complete for two kinds of fault: taking back what a key received, and spending for a key more than it signed. 7. Recomputation. Anyone can rebuild every entitlement root from the published records, sets and transfers. A root that does not match is a public proof of fault. The invariant observable on TON at every moment is: the total supply of the Jetton equals the total claimed, the total claimed is at most the total T of the root in force, and T is at most C at window n_a. Nothing else can mint. 9. Transfers in chats --------------------- A token meant to travel between people must move where they talk, at once and at no cost. A transfer of a Jetton on TON is neither: it waits for a block and pays gas. NIKA therefore moves inside the timechain, and TON is used only to take it out. 1. Transfer. A participant sends NIKA to another presence key with a message signed by its own presence key that names the recipient, the amount a ≥ 1 in u, and its new cumulative sent total. In a Telegram chat this is one button: the recipient is chosen from the chat, and the Mini App shows the transfer at once with the operator's signed receipt. 2. Balance. The balance b of a presence key is what it received, its prizes and the transfers it received, minus what it sent, minus what it claimed on TON. A transfer is accepted only if its amount is at most the sender's balance and its sent total equals the sender's previous sent total plus the amount. The sent total is therefore also the sequence number of the sender, and a transfer cannot be replayed. 3. Order and finality. The operator accepts transfers in the order they arrive. The transfers accepted during window n are applied after the prize of window n and sealed in its record under tx_root. A transfer is shown at once, final for the timechain when its window is sealed, and final on TON at the next anchor; it changes no weight. 4. No fee. The protocol charges nothing for a transfer and nothing for holding; the only cost on TON is the gas of a claim, paid once by whoever claims. 5. Conservation. A transfer moves units between keys and creates none, so after every window the balances of all keys, before claims, sum to A_n, and the schedule cap of section 8 is unchanged. 6. Weight and transfers. The weight reads the counts of the window and no balance, so a transfer neither buys nor moves a chance. 10. Threat model ---------------- Actors. Participants; a Sybil adversary that controls many participants; the operator, who runs the Mini App backend, accepts heartbeats and transfers, fixes sets, draws, seals windows and anchors roots; the beacon; the platform (Telegram); TON; the author of the contracts. Assets. The correctness of every draw and every balance; the cap of the minter; the ability to claim; the privacy of participants. Assumptions. SHA-256 is collision-resistant and second-preimage-resistant and behaves as a random oracle in the draw; signatures are unforgeable; the beacon is unbiasable and unpredictable while fewer than its threshold of members collude [DRAND]; TON is final and its block time is within minutes of real time; at least one honest party recomputes the published chain; a participant keeps its keys and the receipts its client stores. What the operator is trusted with. The contracts prevent it from releasing faster than the schedule, from taking back what a key received, and from spending for a key more than it signed. They cannot prevent it from misallocating the windows of the current epoch, which anyone detects by recomputation but no contract here refuses (T4). It is trusted with liveness: if it stops, the draws stop (T5). Threat Outcome T1 operator rewrites sealed windows detected T2 operator adds participants it owns bounded, not detected T3 operator drops a present participant detected with a receipt T4 operator anchors a wrong root partly prevented T5 operator stops sealing or vanishes not addressed (liveness) T6 platform blocks the Mini App not addressed T7 automated clients bounded (section 11) T8 theft of a claim in flight prevented T9 defect in the contracts review; no upgrade path T10 linking presence to addresses not addressed (section 7) T11 operator biases a draw detected T12 operator forges a transfer prevented under challenge T13 a chance bought by holdings prevented (Definition 3) T1, rewriting history. A change to any sealed record breaks every later hash. Before the next anchor, a rewrite is visible to anyone who holds a signed record or commitment of the old history: every participant's client stores the signed commitments and records of its own windows, and two signed versions of the same n prove equivocation. After an anchor, the anchored head fixes the history for everyone. T2, an operator that adds its own participants. Participants added by the operator are indistinguishable from those of any other Sybil adversary, and this paper does not claim to detect them. They are bounded in the same way (section 11): an added identifier must pass the continuity gate, and its presence history is in the sealed and anchored chain, so the operator cannot give a new identifier a past it did not have. The operator is therefore the strongest Sybil adversary, and its advantage is that it does not pay for the clients. T3, censorship. An operator that drops an accepted heartbeat from the set, or commits a count below one it accepted, is caught by the receipt: a signed receipt of a count for window n together with a signed commitment of window n that does not contain the participant with at least that count is a transferable proof of fault. An operator that refuses a heartbeat or a transfer at the door issues no receipt, and that refusal is detected only by the participant. T4, a wrong entitlement root. A root whose total runs ahead of the schedule or falls below the previous total is refused by the minter (section 8, item 5): prevented. A root that takes back what a key received, or spends for a key more than it signed, is refused under challenge (section 8, item 6): prevented, provided one honest party watches during the challenge period. A root that credits the prizes of the new epoch to the wrong keys, or applies a signed transfer to a recipient other than the one it names, passes every check the contract can make; anyone who recomputes it from the published chain finds the mismatch and the operator is exposed, but the misallocation stands. Its size is bounded by what the epoch released. A fraud proof for this fault would require the contract to re-execute windows, and is future work. T5, liveness. If the operator stops, no window is drawn and nothing is lost that was released: the windows it missed are sealed empty and release nothing (section 5, rule 4), and every anchored balance remains claimable. If it stops for ever, the release stops for ever and the unreleased supply is never minted. Replacing the one operator with several sealers is future work. T6, the platform. The Mini App runs on Telegram. Telegram can block the app or an account, and a participant without a Telegram account cannot take part. T7, automated clients. A program that runs the Mini App is a participant, and a program taps at the cap T in every window: it always weighs 28, and a human with one unicorn still weighs 2 against it. The cap and the root bound what a program gains for one key; how many keys it runs is a Sybil question, bounded only as section 11 bounds it. T8, claims. A claim pays only the address named by the signature of the presence key, so a transaction seen in flight cannot be redirected by anyone who copies the proof. T9, the contracts. The minter and the claim records can mint whatever the schedule allows. They have no admin, no upgrade path and no pause (section 15.2) and must be reviewed independently before launch. T10, privacy. Section 7 states the cost. T11, a biased draw. The winner is a function of the committed set, its counts and β_n. The operator can bias it only by changing the set or a count after it sees β_n, which rule 1 of section 5 turns into a late or a double commitment, detected by every client that received the first one; it cannot choose β_n. An operator that withholds the commitment and seals the window as empty after seeing an unwelcome β_n is caught by the receipts of T3, since the window had accepted heartbeats. The assumption that remains is the beacon itself: a collusion of its threshold of members could predict or bias β_n. Anchoring every commitment on TON before its round would turn detection into prevention at the cost of one transaction a minute, an open parameter. T12, a forged transfer. A transfer is signed by the sender's presence key over its new sent total, so the operator cannot spend for a key more than the key signed: the challenge of section 8, item 6, refuses such a root. T13, a bought chance. The weight reads only the counts of the window, so no balance, prize or transfer raises a chance: holdings cannot buy the minute, and a winner starts the next minute equal to everyone. 11. Sybil resistance by time ---------------------------- An adversary that controls k present participants of weight w each, in a window of total weight Σw, wins with probability k w / Σw. Under the weight of section 3 a key at the cap weighs 28 whoever runs it, so the whole security of the draw is the cost of one more participant. NIKA prices that cost in time, not in money and not by detection, as Montana does [MONTANA 8.2]. 1. Continuity gate. A new participant takes part in the draw only after a continuity period: present in at least d of the D days before its first eligible window (open parameters). Presence in the gate is read from the candidate roots and the sets of the sealed windows (cand_root, section 5), so the gate is computed from public data and cannot be granted retroactively. 2. Bounded admission. Eligible candidates are admitted at a bounded number per admission event (open parameter), in the order of their first recorded presence, ties broken by the hash of the presence key, so the operator chooses no one. The count of admitted participants of any one adversary therefore grows at most linearly in time, whatever it spends. 3. What is not claimed. Common ownership of several accounts is not detected, and this specification does not undertake to detect it. It does not claim that a participant is a unique human. Proposition 5 (the weight of an adversary is bounded by admission). Let a(t) be the number of participants an adversary has had admitted by window t. Its weight in window t is at most 28 a(t); the gate makes a(t) = 0 before the first D days of its presence, and bounded admission makes a(t) grow at most linearly after that, at the admission rate, whatever the adversary spends or holds. ∎ The bound has a shape and not a size. Its constant is the admission rate, and the protection is strong when honest participants are many and weak when they are few. A launch with a small honest community is the most exposed period, and the parameters of the gate must be chosen for it. 12. Verification and exceptional cases -------------------------------------- Published for every window: the commitment and the record of section 5, the participant set, the beacon round and the accepted transfers with their signatures. Published for every epoch: the entitlement tree and the anchoring transaction on TON. Published once: this specification, the reference program and the first window of every period. Anyone can verify from public data alone: 1. the chain is whole: every hash and prev, n consecutive, every record signed by the operator, every commitment received before its beacon round; 2. every window conserves (Proposition 1), its reward follows Definition 1, its seed is the beacon round of Definition 3, its winner is the draw of Definition 3, no count exceeds T W, and its L and set_root match its published set and counts; 3. every accepted transfer is signed by its sender, within the sender's balance and in sequence, and tx_root matches the published transfers; 4. A_n ≤ C_n for every n (Proposition 2), and no window exists after the last period; 5. every entitlement root holds, per presence key, received and sent as recomputed from the prizes and the transfers, and its total T equals A at its window n_a; 6. the total supply of the Jetton on TON equals the total claimed, and the total claimed is at most T. The function verify of Appendix B performs checks 2 to 4, except the signatures and the beacon round, together with the seal. Cost of publication. Publishing a set of 1 000 000 presence keys of 32 bytes every window is 32 000 000 bytes a window and 16 819 200 000 000 bytes, about 16.8 terabytes, a year. Every set is a subset of the registry of admitted participants, ordered by admission, so a set is published instead as a bitmap over that registry: 125 000 bytes a window and 65 700 000 000 bytes, about 65.7 gigabytes, a year, from which anyone rebuilds the set and its root. At one heartbeat per participant per window the operator verifies about 16 667 signatures a second at that size. Case Rule no player in a window no winner, nothing released the set fails validation not committed; the window is sealed empty, nothing released outage of the Mini App or of the missed windows sealed empty, the operator nothing released the beacon is late the draw waits for the round; the round is fixed by the close a transfer above the balance refused, not recorded a transfer with a stale total refused; the client signs again a claim transfer fails the balance remains; the claim can be repeated a participant later found only by a rule published before ineligible the window, never retroactively after the last period no reward and no window 13. Social design ----------------- The game makes every minute an event, and an event is what people share. Each part of the system is designed to be shown rather than bought. - The limit. 31 536 000 NIKA are the seconds of a year: «one second, one NIKA», and none of them exists before someone wins it. - The minute. Every 60 seconds one of those who collected unicorns wins 60 NIKA, live, in front of everyone in the window; the Mini App opens as the game, full screen, and shows the count of those present, the leading count and the participant's own. - The beacon. The winner is drawn by randomness that no one holds, and the Mini App shows the beacon round: «nobody chose this winner, not even us». - The halving. A countdown to the next halving: «the minute pays 60 NIKA for 37 more days». Early presence is worth more, and the date is on the calendar for everyone. - The count. Every minute starts at zero for everyone; the count on the screen is the chance of this minute, and one unicorn is already a ticket. A newcomer and a veteran begin every minute equal. - Transfers. NIKA moves in the chat where people talk: one button, at once, no fee. A winner can split a prize with the chat that watched it win. - The timechain. Every window has a number and a hash: «I won window 184 233 among 9 412 people». - An empty minute. No one tapped, nothing was released, and the page says so: the reward of a minute is always 60 NIKA, never more. - Verification. «Do not trust, verify»: a public explorer of every draw and a one-command verifier with which anyone can prove the operator honest or catch it. - Governance. No admin key and no mint but a claim: the rules cannot change, and that sentence is itself the message. Two incentives follow from the rule and are intended. First, quiet minutes are valuable: there are fewer to share the chance with, so presence is drawn toward the hours when the fewest are present. Second, the dominant strategy of a participant is to be present as often as possible and to tap; presence is cheap, so this strategy is also open to programs, which is why the presence rule and the gate of section 11 carry the weight. Whether a social drive without paid invitations is enough to grow the community is a question for the launch, not for the rule. 14. Comparison with other distribution rules -------------------------------------------- - The Bitcoin schedule [NAKAMOTO]. One winner a block, a reward that halves every 210 000 blocks, and a supply that approaches 21 million without reaching it. NIKA is closest to Bitcoin of all the rules here: one winner a minute and a halving. It differs in what selects the winner, a draw from a public beacon weighted by the taps of the minute, capped per second, instead of a race in computation, and in what times the halving, the calendar instead of a count of blocks. - Proof-of-stake leader selection. Validators are chosen with probability in proportion to stake. NIKA draws in proportion to weight as well, but its weight is the play of the minute, earned anew every minute; it cannot be held, bonded or bought. - Montana [MONTANA 5.3]. A fixed mint per window divided equally among the living machines, the remainder carried, with no halving and no draw. NIKA keeps the window and the timechain, drops the carry, and replaces the equal division by a game and a weighted draw. - NIKA v2.0 [V2], withdrawn. The same supply divided equally among all present every minute, released in exactly 525 600 windows. It released the whole supply in one year; v2.1 trades that exact horizon for a game, a halving and a remainder that is never released. - NIKA v1.0 [V1], withdrawn. 60 NIKA a minute to one participant chosen at random, halved every four calendar months, with the randomness held by the operator and the empty minute and the failed transfer undefined. v2.1 keeps the winner and the halving and makes the draw verifiable, the empty minute releasing nothing and the balances settled by claim. - Bonding-curve launches. The first and fastest capital buys the cheapest units. NIKA has no sale and no curve, and capital does not enter the draw at all. - Airdrops. The issuer chooses the criteria, usually after the fact, and pays once. NIKA fixes its rule before the first window and draws every minute for twelve years. - Tap-to-earn programmes. Points typically accrue off-chain in proportion to activity, and the operator decides their conversion. In NIKA the taps of a minute earn nothing by themselves: they only weigh the draw of that minute, under a cap per second, the reward of the minute follows the schedule, and every winner is recomputable. 15. Governance, path and open parameters ---------------------------------------- 15.1 Changes from v2.0. The equal division of a window is replaced by a game of the minute, a draw among all who collected a unicorn in it, weighted by one plus the integer square root of the unicorns of the window, the count starting from zero in every window, and an empty window releasing nothing instead of carrying its reward (the author's words of 4 December 2026); the release follows a halving every four calendar months instead of a constant reward; windows are slots of the calendar; transfers between participants are added; the entitlement tree carries received and sent; the clock cap becomes a schedule cap; and the supply is no longer minted into a reserve at deployment: the minter has no admin and mints only to pay a proven claim, so the part the schedule never releases is never minted (the author's word of 3 December 2026). 15.2 Governance. No parameter of the table of section 3 changes after deployment. The Jetton minter has no admin from deployment. The operator commits sets, draws, seals windows and anchors roots; it cannot choose a winner, change a set after its commitment, spend for a key more than it signed, or mint except to pay a proven claim within the schedule cap. The contracts keep no pause, no upgrade and no emergency power; if any such power is kept, its exact scope is published before launch. 15.3 Parameters not yet fixed. 1. The beacon delay Δ, and whether every commitment is also anchored on TON (section 10, T11). 2. The presence rule: the form and frequency of the heartbeat (section 7); the cap T is fixed at 13 unicorns a second, the limit of the taps of Montana's coin. 3. The continuity gate: D, d and the admission rate (section 11). 4. The settlement epoch E and the length of the challenge period (section 8). 5. Transfers to a Telegram account that has not yet joined: whether they are held until it binds a presence key, and for how long before they return. 6. The encoding of the entitlement tree in TON cells, the operator's signing key and anchoring address, and where they are published. 15.4 Stages. 1. Token: the NIKA minter with the parameters of section 3, a total supply of 0 and no admin. 2. Timechain: the window engine of section 5, the commitment, the beacon and the public records. 3. Mini App: presence recording (section 7), the continuity gate (section 11) and transfers in chats (section 9). 4. Settlement: the claims of the minter and the claim records, with the schedule cap and the challenge (section 8). 5. Verification and audit: the public verifier of section 12, the vectors of Appendix A, independent review of the contracts and a legal assessment of the draw before public launch. 16. Conclusion -------------- NIKA turns the seconds of a year into a public game of the minute. The rule is short: a window gives its reward to one of those who collected unicorns in it, drawn in proportion to their weight by randomness that no one holds, and releases nothing when no one collected one; the reward halves every four calendar months. From it follow conservation, a release that never runs ahead of the halving schedule, and selection in proportion to weight. What the rule costs, the paper states: about one third of the limit, between 10.38 and 10.63 million NIKA, is never released by the schedule and never minted, common ownership is not detected, an operator that misallocates the current epoch can be exposed but not stopped, the system depends on one operator for liveness, on one platform for presence and on a threshold of beacon members for randomness, and it publishes presence and transfers in exchange for verification by anyone. Within those limits every draw of every minute can be checked by anyone, and the contracts cannot release faster than the schedule even if the operator is the adversary. Appendix A. Test vectors ------------------------ All amounts in units u; R = 60 000 000 000; genesis G at 00:00 UTC on 1 January 2027 unless stated. Each vector names the wrong implementation it refuses. V1, the periods. The first windows of periods 1, 2 and 3 are 172 801, 349 921 and 525 601, and the first window of period 36, the first without a reward, is 6 311 521. It refuses a period of 4 × 30 days, which puts period 2 at window 345 601, and a period of a third of 365 days, which puts period 1 at window 175 201. V2, the rewards. Window k Reward r_n 1 0 60 000 000 000 172 800 0 60 000 000 000 172 801 1 30 000 000 000 6 311 520 35 1 6 311 521 36 0 It refuses rounding the halved reward to the nearest, which pays 2 u in period 35 instead of 1. V3, an empty window. Window 1 has no participant and window 2 has «a» present with no unicorn: neither has a winner, and A_2 = 0. Window 3 has «a» with 0 and «b» with 1 unicorn: «b» wins r_3 = 60 000 000 000 and A_3 = 60 000 000 000. It refuses a carry, which pays «b» 180 000 000 000, and a draw over a participant without a unicorn. V4, the draw. With β_1 = 2cbf59c08fe46d17670ea6aed38ec895b5bbb95bd89134dacbcbca82243ade31, which is SHA-256 of the ASCII string «NIKA», window 1 and the players «c», «a», «b», the winner is «b» when each has 1 unicorn and «a» when «a» has 4. It refuses a draw over unsorted identifiers, which picks «a» with equal counts, and a draw that ignores the weight, which picks «b» in both cases. V5, proportion. For the 70 000 beacon values SHA-256 of the ASCII decimal strings «0» to «69999», window 1, «a» with 1 unicorn and «b» at the cap of 780, «a» wins 4 625 times and «b» 65 375 times, close to the weights 2 and 28: a newcomer with one unicorn wins about one minute in fifteen against a player at the cap. It refuses a draw that ignores the weight. V6, transfers. With β = SHA-256 of «NIKA» in both windows, «a» alone with 1 unicorn in window 1 and «b» alone with 1 unicorn in window 2, each wins 60 NIKA. Window 2 then offers, in this order and in whole NIKA, the transfers (sender, recipient, amount, sent total): (a, b, 10, 10), (a, c, 55, 65), (a, c, 5, 5), (b, a, 0, 0), (a, c, 5, 15). The first and the last are accepted; the second exceeds the balance, the third repeats a sent total and the fourth moves nothing. The balances are a 45, b 70 and c 5 NIKA, and they sum to A_2. It refuses a ledger that lets a balance go negative, accepts a replayed transfer or charges a fee. V7, the whole schedule. Over every window of the 36 periods with a winner in each: A = 20 944 288 349 020 800, of which the first year releases 18 316 800 000 000 000, and S − A = 10 591 711 650 979 200 is never released. It refuses an accumulator in double precision, which ends 1 232 640 u over. V8, the set root. set_root({"a": 0, "b": 0, "c": 0}) = 6f1f67736b45024481cabbb4f58724bf2e9e4e170f76f53dde3831eb090bfde7, and the empty set has the root SHA-256 of the empty string. It refuses a tree without domain separation or with duplication of the last node, and a root without the counts. V9, the game. With β_1 = SHA-256 of «NIKA», window 1 and the counts «a» 780, «b» 25 and «c» 9 unicorns, the weights are 28, 6 and 4 and the winner is «b». A count above T W = 780 fails verification. It refuses the most unicorns taking the whole reward, which gives it to «a», a weight equal to the count, which picks «a», and a count without a cap. Appendix B. The reference program --------------------------------- The program is part of this specification: where the prose and the program disagree, the disagreement is a defect of the specification to be reported. It runs on Python 3.8 or later with the standard library only. It omits signatures, the beacon signature, cand_root and claims, which section 12 lists. # NIKA reference program. Integers only; Python 3.8 or later. import hashlib, json from bisect import bisect_right from math import isqrt from datetime import datetime, timezone U = 10**9 # units in one NIKA (9 decimals) S = 31_536_000 * U # supply limit, in units W = 60 # seconds in one window R = W * U # reward of a window before any halving MONTHS = 4 # calendar months in one halving period TAPS = 13 # unicorns counted in one second, at most ZERO = "0" * 64 KEYS = ("n", "L", "set_root", "seed", "reward", "winner", "released", "tx_root") def periods(year, month): """First window of every halving period, from a genesis at 00:00 UTC on the first day of the given month; the last entry is the first window of the first period without a reward.""" g = datetime(year, month, 1, tzinfo=timezone.utc) first, k = [], 0 while True: y, m = divmod(month - 1 + MONTHS * k, 12) start = datetime(year + y, m + 1, 1, tzinfo=timezone.utc) first.append(int((start - g).total_seconds()) // W + 1) if not R // 2**k: return first k += 1 def reward(n, first): """The reward of window n: R halved once for every period begun before it; 0 after the last period.""" k = bisect_right(first, n) - 1 return R // 2**k if k in range(len(first) - 1) else 0 def h(data): return hashlib.sha256(data).digest() def merkle(leaves): """Merkle root over byte strings in the given order: prefix 0 for a leaf and 1 for a node, an odd node promoted unpaired.""" level = [h(b"\x00" + x) for x in leaves] if not level: return h(b"").hex() while len(level) - 1: nxt = [h(b"\x01" + level[i] + level[i + 1]) for i in range(0, len(level) - 1, 2)] if len(level) % 2: nxt.append(level[-1]) level = nxt return level[0].hex() def set_root(members): """Root of a participant set {identifier: unicorns}: sorted identifiers, each leaf the identifier, a space and its count.""" return merkle([("%s %d" % (m, members[m])).encode() for m in sorted(members)]) def tx_root(moves): """Root of the accepted transfers of a window, in order.""" return merkle([json.dumps(list(m)).encode() for m in moves]) def weight(count): """Weight of a player in the draw: one plus the integer square root of its unicorns in the window (section 3).""" return 1 + isqrt(count) def draw(seed, n, members): """The winner of window n (Definition 3): the players, members with at least one unicorn, sorted, each with its weight, x uniform below the total weight from the beacon; "" when the window has no player.""" keys = sorted(k for k in members if members[k]) if not keys: return "" total = sum(weight(members[k]) for k in keys) x = h(bytes.fromhex(seed) + n.to_bytes(8, "big")) x = int.from_bytes(x, "big") % total for k in keys: x -= weight(members[k]) if x < 0: return k def transfer(bal, sent, move): """Apply one transfer (sender, recipient, amount, sent total after it); False, and nothing changed, when it is refused.""" src, dst, amount, after = move if amount < 1 or after != sent.get(src, 0) + amount: return False if bal.get(src, 0) < amount: return False bal[src] -= amount bal[dst] = bal.get(dst, 0) + amount sent[src] = after return True def step(n, members, seed, moves, bal, sent, first): """One window: the draw on its counts, its own reward to the winner or nothing released, then its transfers in order. Returns the body and the accepted transfers.""" winner = draw(seed, n, members) if winner: bal[winner] = bal.get(winner, 0) + reward(n, first) ok = [m for m in moves if transfer(bal, sent, m)] body = dict(n=n, L=len(members), set_root=set_root(members), seed=seed, reward=reward(n, first), winner=winner, released=sum(bal.values()), tx_root=tx_root(ok)) return body, ok def seal(body, prev): rec = {k: body[k] for k in KEYS} rec["prev"] = prev return hashlib.sha256( json.dumps(rec, sort_keys=True).encode()).hexdigest() def run(first, sets, seeds, moves=None): """Seal one record per window; sets[i], seeds[i] and moves[i] are the participants with their unicorns, the beacon value and the transfers offered in window i + 1. Returns the chain and the final balances.""" chain, prev, bal, sent = [], ZERO, {}, {} moves = moves or [[] for _ in sets] for n, (members, seed, offered) in enumerate( zip(sets, seeds, moves), 1): body, ok = step(n, members, seed, offered, bal, sent, first) body["moves"] = ok body["prev"], body["hash"] = prev, seal(body, prev) chain.append(body) prev = body["hash"] return chain, bal def verify(first, chain, sets): """Recompute every window from the public sets, beacon values and transfers; an empty string means the chain is whole.""" prev, bal, sent, released = ZERO, {}, {}, 0 for n, (r, members) in enumerate(zip(chain, sets), 1): if n >= first[-1]: return "window %d: after the last period" % n if any(not 0 <= c <= TAPS * W for c in members.values()): return "window %d: a count above the cap" % n want, ok = step(n, members, r["seed"], r["moves"], bal, sent, first) if ok != r["moves"]: return "window %d: a transfer is refused" % n if any(r[k] != want[k] for k in KEYS): return "window %d: a field differs" % n if r["prev"] != prev or r["hash"] != seal(r, prev): return "window %d: the seal is broken" % n released += reward(n, first) if r["winner"] else 0 if r["released"] != released: return "window %d: conservation fails" % n prev = r["hash"] return "" Appendix C. Glossary -------------------- - Window: 60 seconds of the calendar, one sealed record. - Reward: 60 NIKA a window, halved at the start of every period of four calendar months. - Present participant: a participant with an accepted heartbeat inside a window (section 7). - Player: a present participant with at least one unicorn in the window; only players take part in the draw. - Weight: the integer that sets a player's chance in a draw, one plus the integer square root of its unicorns in the window. - Beacon: the public randomness source of the draw; its round for a window is fixed by the close of the window. - Commitment: the signed root of a window's set, published before its beacon round. - Draw: the choice of the winner from the commitment, the weights and the beacon (Definition 3). - Seal: the SHA-256 hash of a record together with the hash of the record before it. - Balance: prizes and transfers received, minus transfers sent, minus claims. - Sent total: the cumulative amount a key has sent, signed by the key with every transfer; also its sequence number. - Anchor: the transaction on TON that fixes an entitlement root and the head of the timechain. - Candidate: a participant not yet admitted; its presence is recorded under cand_root and takes no part in the draw. - Challenge period: the time a new root waits before it comes into force, during which a proof that it takes back a received amount or forges a sent total rejects it. - Continuity gate: the presence a participant must show before it takes part in the draw (section 11). - Minter: the Jetton minter of NIKA, without an admin, which mints only to pay a proven claim (section 8). - Schedule cap: the refusal of the minter to accept a root whose total exceeds the schedule at its window, an anchor ahead of TON time, or a mint above the total of the root in force (section 8). References ---------- [CHAIN] The seal of the Montana operational timechains, Efir/Timechain/chain.py of the Montana repository. [DRAND] drand, a distributed randomness beacon run by the League of Entropy; the quicknet network, threshold BLS signatures on BLS12-381, one round every 3 seconds. [MONTANA] Asymptotic Emission in Montana: One Second, One Coin. Working paper of the Montana council, revision 1, 22 October 2026, App/Montana-Protocol/TOKENOMICS.md of the Montana repository. [NAKAMOTO] S. Nakamoto. Bitcoin: A Peer-to-Peer Electronic Cash System. 2008. [RFC6962] B. Laurie, A. Langley, E. Kasper. Certificate Transparency. RFC 6962, 2013. [TEP-74] Fungible tokens (Jettons) standard. TON Enhancement Proposal 74. [V1] NIKA Tokenomics and Distribution Protocol v1.0, draft, NikaUnicorn/NIKA_Tokenomics_Distribution_Protocol_v1.0.md. [V2] NIKA: One Year of Seconds, Divided Equally. Revision 2.0, 3 December 2026, NikaUnicorn/NIKA_Specification_v2.0.md. Disclaimer ---------- This is a specification, not an implemented or audited system. A draw for a prize is a game of chance, and its legal status differs between jurisdictions and has not been assessed. Participation in a token involves financial and technical risk. This document is not investment advice and makes no statement about any price.