Eaglesong algorithm: the Nervos CKB network, hardware and specs
Mining algorithms · Eaglesong
Eaglesong: 43 rounds of add, rotate and XOR built for the Nervos CKB network
8 ASIC models in the catalog, from the Antminer K7 at 48.5 J/TH to the old K5 at 1398 J/TH. We break down the algorithm, the CKB design, the hardware and the economics.
What Eaglesong is
Eaglesong is a proof of work algorithm written specifically for the Nervos CKB network and used nowhere else in any serious way. Its author, Alan Szepieniec of the Nervos Foundation, published the specification in July 2019 as RFC 0010, together with reference implementations in C and Python. Inside there is a sponge construction like the one in Keccak, but the permutation is built in ARX style: modular addition, bit rotation and XOR only, with no substitution tables.
The main thing to understand about Eaglesong is that nobody tried to make it ASIC resistant. The opposite: Nervos stated openly that it wanted a simple, easily understood algorithm so that the entry barrier for chip makers would be low and the hardware market would end up competitive rather than a monopoly. The plan worked. The first production ASIC shipped less than half a year after the main network launched, and four separate companies were building such machines.
For a buyer the key number here is the spread inside the catalog. We list 8 models on Eaglesong, and the difference between the best and the worst is almost thirty times: the Antminer K7 delivers 48.5 J/TH, the early Antminer K5 needs 1398 J/TH. These are not shades of the same thing; they are different eras of silicon, and buying the second machine at the price of the first means an electricity bill that no exchange rate will ever justify.
Key characteristics
| Parameter | Value |
|---|---|
| Algorithm | Eaglesong, a sponge over an ARX permutation |
| Author | Alan Szepieniec, Nervos Foundation, 2019 |
| Specification | RFC 0010 in the Nervos repository, July 2019 |
| Rounds | 43 |
| State | 512 bits, 16 words of 32 bits |
| Output length | 256 bits |
| Operations | Addition, bit rotation and XOR only |
| Hardware type | ASIC |
| GPU | Not profitable since 2020 |
| Main coin | Nervos CKB, ticker CKB |
| Network launch | 16 November 2019, the Lina main network |
| Epoch | Fixed at 4 hours, the number of blocks inside it floats |
| Base issuance halving | Every 8760 epochs, roughly 4 years |
| Efficiency unit | J/TH, compare only within the algorithm |
| Models in the catalog | 8 from two manufacturers |
How the algorithm works
The work of a miner is the usual one: find a nonce that makes the block header hash land below the current target. What is unusual is the way that hash is computed. Eaglesong works as a sponge: the input data is absorbed into a 512 bit state, the state is stirred by a permutation, then 256 bits of result are squeezed back out of it.
The permutation itself is built in ARX style, from add, rotate, xor. No substitution tables, no multiplications, just three cheap operations on 32 bit words. One round consists of four steps: multiplication by a bit matrix, a circulant multiplication with rotation coefficients, addition of a constant from a table, and a closing add-rotate-add step on pairs of words. There are 43 rounds and 688 constants across them.
Why that choice matters for hardware. Addition, rotation and XOR map into silicon with almost no overhead and need almost no memory. The chip comes out dense and cheap to design, and the bottleneck is the number of parallel pipelines and the clock rate rather than memory bandwidth as in Scrypt. That is exactly why Eaglesong grew dedicated hardware so quickly.
One more thing to know: the Nervos test network computes a variant called EaglesongBlake2b, where one more hash is applied to the result. That was done to make cheap attacks on the test network harder. The main network computes plain Eaglesong, and all the hardware is designed for exactly that.
- Block headerVersion, parent hash, transaction and proposal roots, time, difficulty, nonce
- AbsorbingThe header goes into a 512 bit state, rate 256 bits, capacity 256 bits
- 43 permutation roundsBit matrix, circulant multiplication, constant, add-rotate-add step
- Squeezing256 bits are taken out of the state, and that is the block hash
- Comparison with the targetBelow the target, block found. Above it, a new nonce and start again
History of the algorithm
- 2018Nervos formulates its economic model: space in the network state is paid for separately, storing data on chain is not free.
- 2019In July Alan Szepieniec publishes RFC 0010 describing Eaglesong. The algorithm later appears in an academic journal as well, with proven bounds on resistance to differential and linear cryptanalysis.
- 2019On 16 November the Lina main network launches at epoch 0. The reward per epoch is 1,917,808 CKB.
- 2020In March and April the first production machines arrive: the Todek Toddminer C1, followed by the Bitmain Antminer K5. Less than half a year after the network launch.
- 2021Over two years, through 2022, Goldshell rolls out the entire CK lineup: CK5, CK-BOX, CK6, CK Lite, CK6-SE, CK-BOX II. The home segment and the industrial one arrive almost at the same time.
- 2023In January the Antminer K7 at 63.5 TH/s raises the bar: 48.5 J/TH against the 171 J/TH of the previous leader in the catalog. A gap of three and a half times.
- 2023On 19 November the first halving of the base issuance arrives, the reward per epoch drops to 958,904 CKB. The next one is expected in November 2027.
- 2025On 1 July the Meepo hard fork lands on the main network: the Spawn syscall and the second version of the virtual machine. The fork changed neither the algorithm nor the issuance.
Coins on this algorithm
| Coin | Ticker | Notes |
|---|---|---|
| Nervos CKB | CKB | The only network where Eaglesong is mined on ASICs. All the hashrate on this algorithm sits here |
ASIC miners for Eaglesong
All 8 catalog models on Eaglesong, sorted by efficiency with the best on top. Hashrate in TH/s, efficiency in joules per terahash. Click the name to open the profitability calculator for that model.
| Model | Hashrate | Power | Efficiency |
|---|---|---|---|
| Antminer K7 | 63.5 TH/s | 3080 W | 48.5 J/TH |
| Goldshell CK6 | 19.3 TH/s | 3300 W | 170.98 J/TH |
| Goldshell CK Lite | 6.3 TH/s | 1200 W | 190.48 J/TH |
| Goldshell CK-BOX II | 2.1 TH/s | 400 W | 190.48 J/TH |
| Goldshell CK6-SE | 17 TH/s | 3300 W | 194.12 J/TH |
| Goldshell CK5 | 12 TH/s | 2400 W | 200 J/TH |
| Goldshell CK-BOX | 1.05 TH/s | 215 W | 204.76 J/TH |
| Antminer K5 | 1.13 TH/s | 1580 W | 1398.23 J/TH |
Hardware manufacturers
Two machines and two different worlds. The K5 of spring 2020 is of historical interest today: 1.13 TH/s at 1580 watts. The K7 of January 2023 is 63.5 TH/s at 3080 watts and the best efficiency on the algorithm in the catalog. As of July 2026 the K7 is still the Eaglesong flagship, nothing faster has been produced in series.
The widest lineup in the catalog on this algorithm, six models out of eight. The company covered two segments at once: the quiet compact CK-BOX and CK-BOX II at 215 and 400 watts for home, and the full size CK5, CK6 and CK6-SE at 2400 and 3300 watts for the rack. On efficiency all six sit in a corridor from 171 to 205 J/TH.
These machines are not in the asic.es catalog, but they exist on the market and come up often in calculations. The BM-N3 Max of April 2024 is the last new model on Eaglesong at all: after it nobody showed a new chip for the algorithm.
A historical manufacturer. The C1 of March 2020 was the first production ASIC on Eaglesong, the C1 Pro came out two months later. Today both models are interesting only as a monument to how fast the market reacted to a new algorithm.
Firmware for Eaglesong miners
There is no custom firmware for Eaglesong. That has to be accepted before buying, not discovered afterwards. AsicBoost firmware is built for SHA-256 boards, on Scrypt two models are supported, and no CKB series is on that list. Network installation through HashCore Toolkit covers the same supported lines.
The same holds for third party developers in general. None of the known alternative firmware projects for Antminer claims support for the K5 or the K7. Goldshell publishes only its own official builds for the CK5, CK6 and CK-BOX, and the change logs there are about Wi-Fi stability and idle mode, not about overclocking.
Online you will run into videos and listings promising to push a K7 to 90 TH/s and add half again to its efficiency. There is usually no author to be found behind such builds, the working terms and the developer fee are not stated, and the origin of the file is unknown. We do not recommend putting that on a machine worth several thousand euro: the risk of a brick and a voided warranty is real, and there is no confirmation of the result.
The practical conclusion is simple. The efficiency of an Eaglesong machine is fixed at the moment of purchase. There is nothing to improve it with later, so the J/TH figure has to be worked out before you buy, not after.
What profitability depends on
The income of an Eaglesong farm comes from three values: CKB network difficulty, the CKB exchange rate and your efficiency in J/TH. There are no side payouts, no merge mining, and a single coin.
The block reward here is arranged in a more complex way than in Bitcoin. It consists of the base issuance, which halves once every four years, a share of the secondary issuance, and fees. The secondary issuance is constant, 1,344,000,000 CKB a year, and is split between miners, Nervos DAO deposits and the treasury in proportion to the state of the network. Because of that the block reward floats more than Bitcoin miners are used to.
Difficulty behaves unusually too. CKB fixes the length of an epoch at 4 hours, while the number of blocks inside an epoch varies from 300 to 1800. The protocol tunes the interval to hold the orphan rate near 2.5 percent, so block time floats roughly between 8 and 48 seconds. For income calculations that means one thing: work from the daily output, not from the reward for a single block.
Popular pools
| Pool | Region | Notes |
|---|---|---|
| 2Miners | Europe, USA, Asia | PPLNS and SOLO, payouts every two hours, servers in Stockholm, Helsinki, Warsaw and Berlin |
| F2Pool | Global | PPS scheme, daily payouts, one of the oldest pools on the market |
| ViaBTC | Asia, global | PPLNS or PPS+ by choice, a backup port in case of a dropout |
| AntPool | Global | PPS scheme, the Bitmain pool, a familiar interface for Antminer owners |
| DxPool | Hong Kong, Asia | PPS scheme, historically one of the first pools on CKB |
| HashPool | Asia | PPS scheme, a small pool, fine as a backup address |
Strengths and weaknesses
- A simple, open algorithm with the specification and reference code publicly available
- A low entry barrier for chip makers, so four companies were building machines at once
- The efficiency gap between generations is huge, so there is real money in choosing well
- There are ready compact models at 215 and 400 watts for home and a small office
- A network with unusual economics: paid state storage and a constant secondary issuance
- Hardware on the used market is cheap compared with SHA-256 machines
- One coin for the whole algorithm, there is literally nowhere to switch the fleet
- No custom firmware, efficiency is fixed at the moment of purchase
- No new models since 2024, there is nothing to refresh the fleet with
- CKB liquidity is noticeably lower than that of the major coins, so selling large volumes needs care
- The block reward floats because of the secondary issuance, so calculations run by the day
- Old models such as the K5 lose money today at any sane electricity price
Energy efficiency and J/TH
Efficiency here is measured in joules per terahash, J/TH. The notation matches SHA-256, but that is a coincidence of notation, not of units: an Eaglesong terahash and a SHA-256 terahash are different work. Putting 48.5 J/TH on CKB next to 9.45 J/TH on Bitcoin is meaningless; the comparison only makes sense within the algorithm.
Inside the algorithm the spread is huge. The Antminer K7 delivers 48.5 J/TH, the Goldshell CK6 delivers 170.98, the old Antminer K5 needs 1398.23. Almost twenty nine times between the leader and the outsider. In practice that means the electricity bill differs many times over for the same output in CKB, and no purchase price compensates for it.
Work it out like this: take the efficiency of the model, multiply by the planned hashrate and you get the power draw. Then divide by 1000 to get kilowatts, multiply by your tariff and by 720 hours a month. Compare the sum with the mining forecast in the calculator. If the difference is already negative now, it will only get worse as difficulty grows.
How to choose an ASIC for Eaglesong
Settle the coin question first. You are buying hardware for one network with no fallback scenario. If that concentration of risk does not suit you, look at SHA-256 or Scrypt, where the fleet can be moved to another coin.
Look at J/TH, not at terahashes. Hashrate tells you about speed, efficiency about the power bill. Choosing between two machines at a comparable price, the one with the lower J/TH almost always wins.
Separate home models from rack models. A CK-BOX at 215 watts and a CK6 at 3300 watts solve different jobs. The first is quiet and lives in a flat, the second needs a prepared room, a dedicated line and exhaust ventilation.
Check power and noise in advance. A 3300 watt machine means a dedicated breaker, decent cable and around 75 decibels. Do not treat that as a detail: most often a project stalls on the connection, not on the hardware.
Do not count on firmware. On Eaglesong there is nothing to improve. The factory numbers are your numbers for the whole time you own the machine.
Calculate payback on today's numbers. Take the current difficulty, the current rate and your real tariff. Better not to build price growth forecasts into the calculation: difficulty grows a lot more reliably than the rate.
Common mistakes
Comparing J/TH with Bitcoin machines. The same unit notation does not make the work the same. Putting 48.5 J/TH on CKB next to 12 J/TH on Bitcoin is not valid; these are different algorithms and different terahashes.
Buying an old model for the low price. The Antminer K5 is cheap precisely because its efficiency is twenty nine times worse than the leader. The saving on the purchase burns off in the first month of bills.
Waiting for firmware that fixes everything. A custom firmware ecosystem for Eaglesong does not exist. The overclocking promises in listings and videos are backed by nothing.
Counting income from the block reward. On CKB the block time floats and the reward is made of several parts. The only sensible horizon for a calculation is a day.
Ignoring the liquidity of the coin. Mining CKB and selling CKB are two different jobs. Check in advance which venue you plan to exit through and how deep its order book is.
Sending everything to one pool. A pool can go down for maintenance or shut down. A backup address in the machine settings takes a minute and saves a day of downtime.
Frequently asked questions
What is Eaglesong in simple terms?
It is the proof of work algorithm of the Nervos CKB network. Inside there is a sponge construction and a permutation of 43 rounds that uses only addition, bit rotation and XOR. Dedicated chips compute it faster than anything else.
Who created Eaglesong?
Alan Szepieniec, a cryptographer at the Nervos Foundation. The specification was published as RFC 0010 in July 2019, and the academic version was written together with Tomer Ashur.
Why did Nervos not take an existing algorithm?
The team named three reasons: novelty, so that existing hardware could not simply be pointed at the network and make the power distribution unpredictable, simplicity, so that chip makers could enter easily, and the absence of hidden weaknesses.
Is Eaglesong ASIC resistant?
No, and that was deliberate. Nervos stated openly that it was lowering the entry barrier for ASIC makers. The first production ASIC shipped less than half a year after the main network launch.
Which coins are mined on Eaglesong?
In practice only Nervos CKB. No second network appeared where the algorithm would be mined on ASICs in any noticeable volume.
Can Eaglesong be mined on a graphics card?
Technically yes, economically no. Once ASICs arrived in 2020, GPUs on this algorithm stopped covering even the electricity.
Which model is the most efficient in the catalog?
The Antminer K7: 63.5 TH/s at 3080 watts, which gives 48.5 J/TH. That is the best figure among the eight catalog models.
How many Eaglesong models are there in the asic.es catalog?
Eight, from two manufacturers: two Bitmain machines and six Goldshell. All of them are listed in the table above with links to the calculator.
Is there custom firmware for the Antminer K7?
Nothing publicly available and confirmed. None of the known alternative firmware projects claims support for the K series, and Goldshell releases official builds only.
What does J/TH mean on this page?
Joules per terahash, that is how much energy the machine spends per unit of work. The lower the number, the cheaper the mining. This figure can only be compared with other machines on Eaglesong.
How does CKB issuance work?
There is a base issuance with a cap of 33.6 billion CKB, which halves roughly every four years, and a secondary issuance, a constant 1.344 billion CKB a year with no cap. The secondary one is split between miners, Nervos DAO deposits and the treasury.
When was the CKB halving and when is the next one?
The first halving of the base issuance happened on 19 November 2023; the reward per epoch fell from 1,917,808 to 958,904 CKB. The next one is expected in November 2027 at epoch 17520.
Why does CKB block time float?
The protocol fixes the epoch length at 4 hours and varies the number of blocks inside an epoch from 300 to 1800, tuning it to an orphan rate near 2.5 percent. Because of that the interval between blocks wanders roughly between 8 and 48 seconds.
What is Nervos DAO?
A deposit mechanism that compensates the depositor for dilution from the secondary issuance. For a holder it is a way not to lose share in the network, for a miner it is part of the block reward equation.
Which pools can the machines be pointed at?
Among the working ones: 2Miners, F2Pool, ViaBTC, AntPool, DxPool, HashPool. Before setting up, check the time of the last CKB block found on the pool site.
Are new Eaglesong ASICs coming out?
The last new model was the iBeLink BM-N3 Max in April 2024. After it no new chips for the algorithm have been shown publicly.
Is Eaglesong suitable for home mining?
Yes, if you take the compact models. The Goldshell CK-BOX draws 215 watts, the CK-BOX II about 400 watts, and both are made for an ordinary socket. The full size CK6 and K7 need a prepared room.
How loud is the Antminer K7?
Like any machine of this class, around 75 decibels. That is the level of a vacuum cleaner running around the clock, which is why it does not go in a living room.
Is the Antminer K5 worth buying today?
Only as a museum piece. At 1398.23 J/TH the machine spends almost thirty times more energy per unit of work than the K7, and it does not cover the electricity at any sane tariff.
How does Eaglesong differ from SHA-256 for a farm owner?
In three things: there is one coin and no spare, firmware does not exist, and the gap between hardware generations is bigger. Otherwise the approach is the same: look at J/TH, tariff and difficulty.
Technical specification of the algorithm
| Parameter | Value |
|---|---|
| Full name | Eaglesong, the proof of work algorithm of the Nervos CKB network |
| Construction | A sponge, as in Keccak, over an ARX permutation |
| Permutation width | 512 bits |
| Rate and capacity | Rate 256 bits, capacity 256 bits |
| Output length | 256 bits |
| Rounds | 43 |
| Base operations | Addition modulo 2 to the power of 32, bit rotation, XOR |
| Round steps | Bit matrix, circulant multiplication, constant, add-rotate-add |
| Constants | 688 across all 43 rounds |
| Specification | RFC 0010 of the Nervos repository, reference code in C and Python |
| Main network | Nervos CKB, launched on 16 November 2019 |
| Data model | Cell, a generalisation of UTXO, with a fee for space in the state |
| Difficulty adjustment | NC-MAX: a 4 hour epoch, from 300 to 1800 blocks per epoch |
| Target orphan rate | 2.5 percent |
| Units | Hashrate in TH/s, efficiency in J/TH |