Every laser begins in a material. Light is put in, and something in the crystal or the gas takes that energy and returns it as a single coherent beam. Physicists call that material the gain medium. It is where input becomes output, and where scattered energy becomes something that holds its shape across distance.
Laser, the currency, has reached the point where it needs a gain medium of its own. Over the past week its proof of work, PhotonHash, crossed the threshold its designers set for it a year ago: a mining attempt that is overwhelmingly matrix arithmetic, the operation that photonic processors are built to perform. The candidate that crossed it is called C20. On today's GPUs, C20 spends between 90 and 97 percent of its measured device time inside the matrix kernel. Four implementations agree on its output to the byte. No shortcut has been found in a substantial adversarial corpus.
A hash that computes correctly is not yet a network that agrees. That is what Ruby is for. Ruby is Laser's next public test network, the first to run C20 end to end inside a working blockchain, and the intended successor to Shadownet. It is also planned as the last test network before mainnet. This essay explains why Ruby exists, the cryptography it carries, the evidence it inherits, and what it must prove before it takes the stage. Ruby is in private testing today.
IWhat Shadownet proved, and what it could not
Shadownet went live on 27 July 2026 and did what a first public network must do. It showed that the Laser protocol could leave the laboratory. Accounts signed with post-quantum keys, miners produced blocks, nodes in different places validated them, and an explorer recorded the chain for anyone to inspect. For a project that had existed as specifications and benchmarks, that was the decisive step from argument to execution.
What Shadownet could not do was carry the proof of work Laser was designed around. It runs PhotonHash v0.2.2, an early profile that reproduced its reference outputs exactly but spent only 11 to 12 percent of GPU time on matrix multiplication. The rest went to the digital machinery around the arithmetic. For a currency whose central bet is that its work should reward the hardware of the next era of computing, that ratio was the wrong way round. Laser published the result as a negative one and kept going.
Three generations later, the ratio has inverted. C20's measured matrix share is 90.46 percent unfused and 93.46 percent fused on an RTX 5090, and 94.07 and 96.71 percent on an RTX PRO 4500 held at 165 watts. These figures include the quantization and stores that run inside the same kernel; pure multiplication time has not yet been isolated. Even so, the thing the project set out to build now exists in measurable form.
A proof of work cannot be exchanged beneath a running chain without a fork, and C20 also requires header fields and consensus parameters that Shadownet was never given. The clean path is a new genesis, built from the start around the hash that earned it. That genesis is Ruby.
IIWhy ruby
On 16 May 1960, in a laboratory at Hughes Research in Malibu, Theodore Maiman fired a flash lamp around a small rod of synthetic ruby and produced the first working laser. The rod was aluminum oxide threaded with chromium ions. The lamp pumped energy into the chromium; the crystal gave it back as a pulse of deep red light at 694.3 nanometers, every photon in step with the others. The device was famously called "a solution looking for a problem." Within two years a ruby laser had been bounced off the Moon; within a generation, lasers were cutting steel and carrying the world's telephone calls through glass.
The ruby rod was the gain medium, the part of the instrument where scattered input becomes an ordered beam. That is precisely the role this network plays for Laser. Ruby is where C20's work becomes blocks, where blocks become a chain, and where independent machines fall into agreement about that chain without anyone instructing them to.
Laser will name its experimental networks after laser gain media, in the order of their invention. Ruby comes first because ruby came first. If all goes as planned, it will also be the last network Laser needs before mainnet.
IIIThe first half of the cryptography: ownership
A currency makes two promises. The first is that what you own stays yours. Ruby carries this promise exactly as Shadownet established it, because it was right the first time.
Every Laser account signs with ML-DSA-65, the module-lattice signature scheme standardized by NIST as FIPS 204 in August 2024 and designed to withstand an adversary with a large quantum computer. The elliptic-curve signatures that protect nearly every other cryptocurrency do not have that property; Shor's algorithm breaks them outright. Laser pays for its protection in bytes, a 1,952-byte public key and a 3,309-byte signature, and accepts that cost from the first block rather than deferring it to a migration nobody has yet agreed how to run. An address is the SHAKE256 digest of its public key, so the key itself appears on chain only when its owner spends.
The protocol does not pretend that any signature scheme is permanent. Laser specifies signature agility before genesis: a successor scheme can be added, funds move to addresses bound to it, and funds left under a retired scheme become unspendable. If the day comes, the rules for it will already be written and public. That is the difference between a protocol that is quantum-resistant and one that is merely quantum-aware.
Ruby changes nothing here. What Ruby changes is the second promise: the work.
IVThe second half of the cryptography: work
The choice of a hash function is the most consequential industrial decision a proof-of-work currency makes. Bitcoin chose SHA-256 and, without intending to, called a custom-chip industry into existence. Monero chose RandomX to keep ordinary processors competitive. Laser's choice runs the other way from both: rather than resist the hardware it fears, it aims its work at the hardware it wants to exist.
Ruby's proof of work is PhotonHash LF3-K8-C20. A single attempt unfolds in seven steps.
- The bank. From the parent block's 32-byte hash, SHAKE256 derives eight matrices, each 4,096 by 4,096, each entry a signed integer between -8 and 7: 134,217,728 small numbers, 64 MiB when packed. No one chooses them. They fall out of the chain's own history, and they change with every block.
- The binding. SHAKE256 hashes a domain tag, the block header and the 64-bit nonce into a 32-byte value, h.
- The vector. ChaCha20, standardized in RFC 8439, takes h as its key and emits 32 blocks of 64 bytes, which become a vector of 4,096 small signed integers.
- The arithmetic. The vector is multiplied by each of the eight matrices: 134,217,728 multiply-accumulate operations, all of them exact integers.
- The quantizer. From each of the 32,768 resulting sums, the hash keeps four bits, bits nine through twelve, which is to say the 512-wide bin into which the sum fell.
- The fold. For each row, the eight four-bit values are combined by exclusive-or into a single 2,048-byte fold.
- The verdict. SHAKE256 hashes a second tag, h and the entire fold into a 32-byte digest. The attempt wins if that digest, read as an integer, is strictly below the target.
The third step is where C20 earned its name. Its predecessor drew the vector from SHAKE256, a sponge that produces its output one block after another, a serial chain that leaves most of a GPU idle. ChaCha20 computes every 64-byte block independently from a counter, so all thirty-two arrive at once. On an RTX 5090 the expansion stage fell from 0.84 to 0.05 milliseconds per batch of 8,192 attempts. ChaCha20 serves here as a fast, well-studied public expander, not as a cipher; SHAKE256 still binds the attempt and seals the verdict.
The shape of the whole explains the ambition. The bank stays fixed for an entire block while thousands of vectors stream through it. That is the precise pattern of neural-network inference, and the precise pattern photonic processors are built for: program the weights into the optics once, then pass light through them as fast as it can be modulated. Every Laser attempt has the form of a small act of inference. Whether light will one day compute it more cheaply than silicon is the bet Laser is built to test. It is a design intent, and nothing yet demonstrates it.
VThe evidence Ruby inherits
On 29 and 30 October, C20 was put through the most thorough public examination PhotonHash has received. The hash was built four times from its specification, including once by a reviewer working from the documents alone. It was attacked: columns omitted, coefficient bits dropped, whole passes skipped, noise injected into every sum. It was timed on two kinds of GPU, metered for energy over sustained runs, mapped into a hardware netlist and run against a network laboratory designed to break it. Every run, failures included, sits in the public record.
The verdict was REVISE. That word is not a setback; it is the discipline working. C20 earned further qualification, not a frozen proposal, and the gap between the two is exactly the work Ruby and outside reviewers now have to close.
The most unusual result is the noise study. Because the quantizer keeps only which bin a sum lands in, a slightly wrong sum often still produces the right fold. Earlier research such as LightHash asked how optical errors interact with a proof of work; C20's study puts a measured curve on that question for a full-size hash, and gives a concrete answer to something analog hardware will eventually have to know: how precise must a machine be to take part in consensus? The answer, under the error models tested, is very precise, but not perfectly so.
| Area | Result | Status |
|---|---|---|
| Conformance | 560 canonical vectors agree in C, CUDA, Python and Rust on every byte of the binding, fold and digest. The CUDA path takes its bank from C, so the bank was checked three ways. | Measured |
| Random replay | 1,048,576 random attempts on GPU, each replayed on CPU in exact integer arithmetic. Zero mismatches, zero skipped. | Measured |
| Shortcuts | Column omission, coefficient-bit dropping and pass omission produced zero exact folds in the tested corpus. | Measured; not a lower bound |
| Approximation | ±1 errors on 1% of sums keep the exact fold about 52% of the time; Gaussian noise of σ 0.5 keeps it 0 times in 2,048. A noisy method is a shortcut only if its energy divided by its exact-fold probability beats exact work. | Measured probabilities; energy inferred |
| Matrix share | 94.07% unfused, 96.71% fused, RTX PRO 4500 at 165 W. Includes quantization and stores. | Measured |
| Energy per attempt | 155 µJ fused C20 against 245 µJ for the original LF2, same card, sustained run, uncalibrated board sensor. | Measured; calibration open |
| Custom arithmetic | A 13-bit datapath gives the exact result at about 0.50–0.58 of the area of a 32-bit one, in a mapped research netlist. | Inferred area, not energy |
| Verification | One attempt verifies in about 15 ms on a server CPU with the bank cached. A new bank takes about 0.26 s on one core and 0.04 s on eight. | Measured on shared server hardware |
| Network admission | In a TCP lab, 30,016 junk requests caused zero bank derivations, memory stayed under 300 MB, and honest clients were served throughout. | Measured; lab, not production |
VIWhat a chain demands that a hash cannot show
Everything in the table above concerns a single attempt. A blockchain is something else: thousands of attempts by strangers, on machines nobody coordinates, converging on one history without a referee. The qualification proved that C20 computes. Ruby must prove that C20 can secure.
That proof has parts no single-attempt benchmark can reach. Blocks must cross the network fast enough that miners do not spend their work on a tip that has already moved. When two miners find blocks in the same moment, every node must settle on one of them, and in C20 each block in such a reorganization brings its own 64 MiB bank, so a deep reorganization costs more here than on Bitcoin; Ruby will measure how much more. A node that arrives late must download and verify the whole chain while the tip keeps advancing. Difficulty must follow hash power as miners come and go, without the stalls that ruined several young chains in 2018 and without rewarding miners who switch on only when the target is soft. And a node must turn away hostile traffic before it does any expensive work, while continuing to serve the honest peers beside it.
Ruby confronts these in three private stages before it ever opens. In the first, three nodes must hold the same chain for a full day. In the second, the team deliberately forks the network, restarts nodes mid-sync, manipulates timestamps, yanks hash power in and out, and floods a node with the hostile-traffic suite while honest peers keep building. In the third, Ruby is launched several times at different block intervals on separate hosts, so that the interval mainnet will live with is chosen from measurement rather than inherited from habit.
The early private runs have already produced C20 blocks and carried them between remote nodes in agreement. The first full-day test has not yet passed. When it does, the record will say so; until then, it does not.
VIIWhat is set at genesis
A blockchain's header and its monetary rules are close to permanent. Once value rests on them, changing either means a fork, and a fork means asking everyone to agree again. The history of proof-of-work launches is in large part a history of parameters chosen in haste and regretted at leisure: starting difficulties copied from another chain that handed early supply to a few machines, reward code that minted coins it should not have, timestamp allowances that an attacker could stretch.
Ruby is where Laser sets these things, once, with evidence. Each choice is written as a numbered decision with its reasoning and the measurement behind it, reviewed by Laser's engineering lead, and marked as an experimental placeholder. The intention is that each one travels to mainnet unchanged unless Ruby gives a reason to change it.
| Item | Ruby's approach |
|---|---|
| Supply | 137,000,000 LASER cap. 1 LASER = 10⁹ photons. Four-year half-life. Unchanged. The reward code is tested to the final block before genesis. |
| Block interval | Shadownet uses 10 seconds. Ruby's interval is chosen from the third private stage's measurements. Bank derivation per block, miner turnover and future photonic weight loading all favor a longer interval. |
| Difficulty | A rule that adjusts within a short window and limits each step. The study of candidate rules continues; a provisional rule runs in private testing. |
| Timestamps | A future-time allowance sized to the chosen interval, not Bitcoin's two hours, and a median-time-past lower bound. |
| Genesis difficulty | Set from measured expected hash rate, so the first hours do not hand early supply to a few miners. |
| Header | Frozen for Ruby, with three reserved fields defined from the start: a merge-mining commitment slot, the Amber long-term lock field, and a bounded data-carrier output. They are inactive at launch so that the header does not change again before mainnet. |
| Admission | Junk is rejected before bank work. At most two banks are held in memory. Per-source limits and fixed buffers apply. |
VIIITaking the stage
Ruby will open to the public when four things are true. The three private stages are complete and their evidence is published. A Laser Core release for Ruby is built and hardened, with Tor support for node connections and mining defaults chosen for the machines of people who did not build it: one CPU thread unless the user asks for more, a clear warning before heavy use, and GPU mining on Windows disabled in the first release while a stability issue is investigated. A Ruby explorer and stable public seed nodes are running. And the genesis time and its parameters are announced ahead of time, so that no one starts the race before anyone else knows it exists.
On the day it opens, the team's own nodes and miners will run the same public software as everyone else, and the team's mining will be disclosed. Ruby's coins have no value, and on a test network disclosure costs nothing. That is exactly why it is worth doing: the habits a project keeps when nothing is at stake are the best evidence of the habits it will keep when something is.
Then comes the soak. Laser set its criteria for mainnet long before Ruby had a name: at least thirty days, at least ten nodes, at least three of them run by people outside the core team on their own machines, outside miners, and deliberate fault injection on a schedule. Ruby is where Laser intends to meet them.
Shadownet will keep running PhotonHash v0.2.2 until Ruby is stable. It then steps back as Laser's first public network, with its freeze or retirement announced in advance. Neither step has a date. Laser's rule for all of this is gates, not dates: each moves when its evidence does.
IXWhat remains unproven
An honest account of Ruby has to end with what it does not settle.
- Outside review. Independent cryptographers have yet to study whether grinding, precomputation or the natural zeros in each bank give any miner an edge, and independent hardware engineers have yet to price a complete custom chip or photonic miner. The brief for both is published.
- Calibration. The energy figures come from the GPU's own power sensor. They agree across two methods to within a fraction of a percent, but an independent instrument has not yet confirmed them.
- Pure multiplication. The measured share includes the quantization and stores that run inside the same kernel. Separating them needs hardware performance counters that rented machines do not expose.
- Difficulty. No candidate rule has yet met every launch criterion. Ruby's private measurements will decide it.
- The photonic miner itself. None exists. When one does, it must produce the exact fold on every winning attempt, and it must beat a custom electronic chip, not a graphics card.
Coda
The ruby laser of 1960 did not prove that lasers would change the world. It proved that coherent light could be made at all, and the rest followed from people who could finally build on something real.
Ruby the network carries the same modest and enormous ambition. It will not prove that light will mine Laser, or that Laser will become money. It will prove, in public and under measurement, that a currency built around the arithmetic of the coming era of computing can hold together: that its work is exact, its chain converges, its nodes survive hostility, and its rules were chosen from evidence. That is the beam. Everything after it is built on it.
Ruby is Laser's experimental network. Its coins have no value. Its proof of work, PhotonHash LF3-K8-C20-experiment.1, is under qualification (verdict REVISE) and its parameters are experimental placeholders chosen from measurement. Shadownet, Laser's current public test network, runs PhotonHash v0.2.2. Nothing described here has been activated on any network, and nothing here is investment advice.
Sources: PhotonHash qualification records · C20 construction · NIST FIPS 204 (ML-DSA) · IETF RFC 8439 (ChaCha20) · NIST FIPS 202 (SHAKE256) · Research Note 002
