Devnet
Idle

Mine the coin. Solana checks the work.

FLINT is its own asset with its own proof of work. Your machine does the hashing. A Solana program replays each winning hash and is the only thing allowed to mint FLINT. Solana validators run that program and order the transactions; they do not mine FLINT, and mining does not secure Solana.

The words FLINT uses

Spark
A hash your device found that's good enough to be paid. Each spark you send pays you FLINT and is also a chance to crack the Geode.
Round
Two minutes. Each round has a fixed amount of FLINT to pay out, split among everyone's sparks.
Deposit
The SOL you set aside when you start mining. It pays each spark's fee, and what's left comes back to your wallet.
Mining fee
The SOL each spark costs: the FLINT it pays, times the mint price. Everyone pays the same price.
Speed
How many hashes your device tries each second. Faster devices find more sparks.
The Geode
A SOL prize that grows from 40% of every mining fee until one hash cracks it, about 1 in 2,000 rounds.
Crack meter
How close the best hash so far has come to cracking the Geode, in steps. Each step is twice as hard as the last.
Season
About 3 months, or less if the season pot fills up. At the end, the pot pays out.
Season points
What you earn by mining steadily, capped each round. At the end of the season the pot pays out by points.
Season pot
10% of every mining fee and 0.5% of SOL prizes, plus 3% of every spark's FLINT, held by the program for the season payout.
The pool
The FLINT/SOL trading pool the protocol owns. It's where FLINT is bought and sold, and its liquidity can't be withdrawn.

Four ways to earn

The program pays every one of these by itself. There’s nothing to apply for.

Mine sparks

What you do
Leave the miner running in a browser tab.
What you get
85% of every spark’s FLINT.
When it pays
Instantly, straight to your wallet.

Crack the Geode

What you do
Nothing extra. Every spark is also a try at the Geode.
What you get
Whoever cracks it takes 50% of the SOL prize. Everyone who mined that round, the finder too, splits 40% by work.
When it pays
Whenever anyone cracks it: about 1 in 2,000 rounds, so every few days on average.

Mine steadily

What you do
Mine across many rounds rather than in one burst.
What you get
Season points, capped each round, then a share of the season pot in FLINT and SOL.
When it pays
Every 3 months, or sooner once the pool is worth $5,000.

Invite miners

What you do
Share your invite link from the Profile page.
What you get
Bonus points worth about 7.5 rounds of mining for each person who mines 30 rounds.
When it pays
Added to your points for the next season payout.

Where the SOL goes

Every lamport the protocol earns stays in accounts only the program controls, except the treasury’s 1% of SOL prize claims, which can only be paid to one fixed multisig address for running costs.

Mining fees

Paid in SOL with every spark

  • Geode40%

    When cracked: 50% to the finder, 40% to that Geode’s miners by work, 10% seeds the next Geode

  • Season pot10%

    80% paid out in SOL each season to steady miners, by season points

  • FLINT/SOL pool50%

    Liquidity behind FLINT, owned by the program. Nobody can withdraw it

Swap fee

1% of every trade

  • FLINT/SOL pool100%

    Stays in the pool and deepens it

Claim fee

1% of every Geode prize claim and finder bonus, in SOL

  • Season pot0.5%

    80% paid out each season to steady miners, the rest carries over

  • Protocol treasury0.5%

    Running costs: hosting, RPC, the crank and audits. Paid only to one fixed multisig address

Premine, admin keys: none. Treasury: 2% of each spark’s FLINT and 0.5% of SOL claims, for running costs

Why a program, not a new chain

An independent chain needs its own nodes, consensus and wallets before a single coin can move. A Solana program gets one shared ledger, double-spend protection and existing wallets on day one. The trade: the program’s rules are only as fixed as its upgrade authority. Once the deployer makes it immutable, nobody can change issuance, mint outside the rules, or freeze a balance.

Upgrade authority
Reading it from Devnet…

cinder-v2

Each attempt is an 80-byte header. The hash fills a 16,384-word scratchpad (64 KiB) where every word mixes in an earlier word at a position chosen by the word before it, so no word can be known until the one before it exists. Then 4,096 mixing steps each read two words at unpredictable positions and write one back, and a final SHA-256 binds the result. The program reruns all of it on-chain for every spark (about 670,000 compute units) and mints only if the digest has at least as many leading zero bits as the spark’s target. A spark is either exactly right or rejected; there is no spot check to slip past.

It can’t be shortcut by using less memory. A miner who keeps less than the whole scratchpad has to recompute the missing words, and each of those needs other missing words. In our tests, keeping 7.5% less memory costs 1.5 times the work, and keeping 37.5% less costs about 53 times. The version it replaced, cinder-v1, could run in an eighth of its memory for 3 times the work.

It is designed so everyday CPUs, including Apple Silicon and phones, can take part from a browser. It is not RandomX: a GPU with enough memory can still run many copies at once, and nothing here proves that specialised hardware cannot win. It should be reviewed before anything of real value depends on it.

Why 64 KiB: the program rebuilds the whole scratchpad for every share it checks, and that costs most of those 670,000 compute units. Solana allows 1.4 million per transaction, and the same transaction also mints tokens and can claim a prize, so a bigger scratchpad would not fit. Memory is not the limit; the program asks for a 128 KiB heap.

Bytes 0–31
Challenge: SHA-256 of this device’s last share, the epoch seed, your wallet and the slot
Bytes 32–63
Signing key: this device’s session key, which must sign the transaction
Bytes 64–67
Worker slot: which of your devices mined it
Bytes 68–71
Target bits, chosen before hashing
Bytes 72–79
Nonce, 64-bit little-endian

Each device mines in its own slot with its own chain, so a laptop and a phone on one wallet never invalidate each other’s work. Because a slot’s last accepted hash is in its challenge, a spark can be paid once. Because your key is in the header and must sign, nobody can submit your share as theirs.

Each round’s seed mixes in the most recent Solana slot hash, so nobody can know it, or mine on it, before the round starts. A spark found just before a round ends still counts for 30 seconds into the next one, paid at the lower rate and charged the higher price of the two rounds, so holding work back never pays. There’s no clock in the header, so a laptop whose clock drifts can’t have sparks rejected for it.

The target is in the header on purpose. Each spark is paid for the target it was mined at, which is exactly what that target is worth on average: a lucky hash isn’t paid extra and an unlucky one isn’t paid less. If sparks were paid by their actual leading zeros, the smallest sparks would earn the most per hash, and every miner would flood the chain with them. The Geode is different: it tests the hash’s actual leading zeros, so any spark, whatever its target, can crack it.

Read the reference mixer

The Rust the program runs on-chain. The browser miner runs a JavaScript port, and both are checked against the same test vectors.

//! cinder-v2, byte-for-byte identical to `src/lib/flint/cinder.ts` in the web miner.
//!
//! 1. seed = SHA-256("cinder-v2" ‖ header).
//! 2. Fill a 16,384-word (64 KiB) scratchpad. Every word mixes in an earlier word whose position
//!    depends on the previous word, so it can't be known before that word exists. An attacker who
//!    keeps less than the whole scratchpad has to recompute the missing words, and each of those
//!    needs other missing words: the work explodes instead of growing gently.
//! 3. 4,096 mix steps, each reading two words at data-dependent positions (the second position
//!    depends on the first word read) and writing one back.
//! 4. digest = SHA-256(seed ‖ final state).
//!
//! The program recomputes the whole hash for every share, so a share can't be faked or spot-checked
//! around: it is either exactly right or rejected. All arithmetic is wrapping u32, matching the
//! JavaScript `>>> 0` / `Math.imul` semantics. Positions use floor(x · n / 2^32), which is exact in
//! both languages and always below n, so every index is in bounds by construction.

pub const PAD_WORDS: usize = 1 << 14;
pub const MIX_STEPS: u32 = 4096;
pub const TAG: &[u8] = b"cinder-v2";

const P1: u32 = 0x9e37_79b1;
const P2: u32 = 0x85eb_ca77;

pub type Sha256 = fn(&[&[u8]]) -> [u8; 32];

#[inline(always)]
fn le(bytes: &[u8], o: usize) -> u32 {
    u32::from_le_bytes([bytes[o], bytes[o + 1], bytes[o + 2], bytes[o + 3]])
}

/// floor(x · n / 2^32): a position in 0..n (n ≤ 2^32).
#[inline(always)]
fn pick(x: u32, n: usize) -> usize {
    // x < 2^32 and n ≤ 2^32, so the product fits in 64 bits: wrapping_mul is exact here.
    ((x as u64).wrapping_mul(n as u64) >> 32) as usize
}

/// History lane absorbs a word: add, multiply by an odd constant, xorshift. Bijective in `s`.
#[inline(always)]
fn absorb(s: u32, w: u32) -> u32 {
    let t = s.wrapping_add(w).wrapping_mul(P1);
    t ^ (t >> 15)
}

/// Word lane: xor in the history, multiply, xorshift. Bijective in `x`.
#[inline(always)]
fn step(x: u32, s: u32) -> u32 {
    let t = (x ^ s).wrapping_mul(P2);
    t ^ (t >> 13)
}

/// Hash one 80-byte header, using `pad` (exactly PAD_WORDS words) as the scratchpad.
pub fn cinder(header: &[u8; 80], pad: &mut [u32], sha256: Sha256) -> [u8; 32] {
    cinder_with(header, pad, MIX_STEPS, sha256)
}

/// cinder-v2 with the scratchpad size taken from `pad` and a given number of mix steps.
/// Only `cinder` (PAD_WORDS, MIX_STEPS) is the protocol; this exists for measuring.
pub fn cinder_with(header: &[u8; 80], pad: &mut [u32], mix_steps: u32, sha256: Sha256) -> [u8; 32] {
    let n = pad.len();
    let seed = sha256(&[TAG, header]);
    let mut s = le(&seed, 0);
    let mut x = le(&seed, 4);

    // Fill: word i = f(word i-1, history, word at a position chosen by word i-1).
    pad[0] = x;
    for i in 1..n {
        let y = pad[pick(x, i)];
        s = absorb(s, y);
        x = step(x, s);
        pad[i] = x;
    }

    // Mix: read a word, read a second word at a position the first one picks, write one back.
    let mut idx = pick(s ^ le(&seed, 8), n);
    for _ in 0..mix_steps {
        let w = pad[idx];
        let v = pad[pick(w ^ s, n)];
        s = absorb(s, w);
        x = step(x ^ v, s);
        pad[idx] = w ^ x;
        idx = pick(x, n);
    }

    let mut tail = [0u8; 12];
    tail[0..4].copy_from_slice(&s.to_le_bytes());
    tail[4..8].copy_from_slice(&x.to_le_bytes());
    tail[8..12].copy_from_slice(&(idx as u32).to_le_bytes());
    sha256(&[&seed, &tail])
}

pub fn leading_zero_bits(hash: &[u8; 32]) -> u32 {
    let mut bits = 0;
    for byte in hash {
        if *byte == 0 {
            bits += 8;
            continue;
        }
        bits += byte.leading_zeros();
        break;
    }
    bits
}

What a spark pays

A spark at 2^12 earns the current rate. Each extra bit doubles it, up to 2^40, but no single spark is ever worth more than one round’s emission (50.0000 FLINT), and a share that lands when the round’s budget is nearly spent gets only what is left. The rate is set by the program every round so the whole network mints close to the schedule, whether it is one laptop or ten thousand. 9 decimal places. No premine. The only allocation is the treasury’s 2% of each spark, for running costs.

Every reward splits four ways: 85% to the miner, 10% minted into the protocol-owned pool as liquidity, 3% to the season pot for season payouts, and 2% to the protocol treasury for running costs (hosting, RPC, the crank, audits), paid only to one fixed multisig address. No fixed daily income. What you earn depends on your share of all the work being done.

What a spark costs

Each spark pays a SOL mining fee: FLINT received × the mint price. Everyone pays the same price: it rises with the square root of the network’s average work over about the last hour, so switching mining on and off can’t catch a cheap round. Early on, with few miners, each miner mines a big slice of the emission and pays for it. As more join, each miner’s slice shrinks faster than the price rises, so the cost per miner falls (about 1/√miners) while the protocol earns more SOL in total. Of every fee, 40% builds the Geode, 10% goes to the season pot, and half deepens the FLINT/SOL pool, which nobody can withdraw.

You won’t get a wallet pop-up for every spark. When you start mining, you approve one transaction that moves your chosen deposit into a session key held in your browser. That key signs sparks automatically and pays their fees from the deposit. When you stop, the unused SOL goes back to your wallet.

Every spark also pays Solana’s network fee: a flat 5,000 lamports, whatever the spark is worth. On small sparks that flat fee can cost more than the mint fee itself, so the miner sizes sparks to keep it small. Your first spark aims for about a minute, so you see it working. After that, sparks double in size until the network fee is at most a tenth of each spark’s mint fee, but never rarer than one every 16 minutes. You earn the same FLINT per hash either way; you just pay fewer network fees, in fewer, bigger payouts.

Before you start, compare the mint price with the pool price on the Network page. The mint price is what you pay in SOL per FLINT mined; the pool price is roughly what FLINT sells for. Two things move your real cost: Solana’s fee on every spark adds to it, most for slow devices, and the Geode pays about a fifth of mint fees back to miners by work. While you mine, the Mine page shows what a FLINT costs your device against the pool price. One wallet can mine on up to 16 devices at once, each with its own session key and its own deposit.

The Geode

A much harder target that every spark is also tested against. When one spark cracks it, the finder takes 50% of the Geode’s SOL, and 40% is split by work among everyone who mined during the round, the finder included. Every miner is in the same pool automatically, with no pool operator and no sign-up. The remaining 10% seeds the next Geode. Difficulty retargets so the Geode cracks about once every 2,000 rounds (a round is two minutes) on average. That's not a timer: a Geode can crack in its first round or build for days. If one runs three times its usual length, it eases by one bit (half as hard) for each further 2,000 rounds, so it never freezes. The crack meter on the Mine page shows the three closest hashes so far, and the History page lists every crack with its finder.

The season pot and season payouts

10% of every mining fee, 0.5% of every SOL prize claim and finder bonus, and 3% of every spark’s FLINT go to a season pot. No key controls it. Every round you mine earns season points, capped at about one browser’s worth, so steady miners earn the most. The program pays out 80% of the pool, split by points, after about 3 months, or sooner once the pool is worth $5,000 (SOL priced by Pyth, at least 7 days between season payouts). Anyone can end a season that’s due, and your share arrives with your next spark or a click.

Referrals: a new miner who opens your invite link records you when they first register. Once they’ve mined for real (30 rounds and about an hour of a browser’s work), you get bonus points in the next season you mine.

Fair mining

Anyone can mine, including bots and big machines. The program caps what they can win: emission per round is fixed, nobody can submit your sparks, every hash is re-checked, season points are capped per round, and sending more sparks earns nothing extra. A bigger machine earns a bigger slice in proportion to its work, and pays a higher SOL price for it, because the price rises with total network work. No proof-of-work coin can stop more hardware from doing more work, and cinder-v2 hasn’t been proven resistant to GPUs or custom chips.

The schedule

21,000,000 FLINT at most. Each 120-second round aims to mint 50.0000 FLINT, halving every 210,000 rounds (about 291 days). A round after a quiet spell can catch up on unminted emission, but never more than twice its share, and the total never runs ahead of the schedule. The program enforces this from the Solana clock. No one can edit a payout by hand.

Machines

  • Desktop: Mac, Windows or Linux

    Browser miner, several threads

  • Android

    Browser, fewer threads, screen on

  • iPhone and iPad

    Experimental, one thread, tab must stay open

Solana’s job

Run the FLINT program, put every spark in order, and hold balances as Token-2022 accounts. SOL pays Solana’s transaction fees and rent, the mining fee, Geode prizes and pool trades. The mint carries its own name and symbol, so wallets show it as FLINT.