A young project, open to test
Flovix is new. It started with a few networks and grows its abilities step by step: new kinds of attacks to watch, more networks, more observers around the world. While it grows, everything is open to test: the live page, private cabinets, alerts, protection and the observer program. Try it on your network, tell us what works and what you miss, and help shape what comes next.
Write to us with ideas, problems or networks you want Flovix to watch.
What Flovix is
Big chains have armies of independent watchers. A small coin usually has none, and that is exactly what a 51% attacker looks for.
Blockchains that run on proof-of-work can be attacked by anyone who gathers enough mining power. Small and young networks are the easiest targets: an attacker can rent the power for a few hours, rewrite recent blocks and spend the same coins twice. Exchanges, shops and the project itself often learn about it too late.
Proof-of-stake networks are harder to rewrite, but they fail in their own ways: validators stop agreeing, blocks stay reversible far longer than usual, or the chain halts. Flovix watches both kinds.
Flovix is a watch post for these networks. It follows each chain around the clock, compares what independent sources see, and raises a warning when the chain behaves like it is under attack.
Flovix tracks attacks and warns. It does not block or prevent them. Its job is to make sure you hear about a problem early enough to act: pause deposits, wait for more confirmations, tell your community.
What it watches
- Reorganizations
- Recent blocks were replaced by another chain. Payments in the replaced blocks can disappear. This is how a double-spend looks from the outside.
- Selfish mining
- Many one-block reorganizations within an hour, far more than is normal for the network. Each one alone looks like an ordinary race between miners; together they mean someone is holding blocks back and using them to replace the blocks of others.
- Chain splits
- Independent sources, or observers in different parts of the world, see different chains at the same time. It can be a network split, a part of the network cut off, or a hidden chain being prepared. This needs at least two points of view: the more observers a network has in more places, the sooner a split shows.
- Competing branches
- An observer's own node saw blocks that carry real mining work but did not join the main chain. Someone spent real power on another chain.
- Rented hashpower
- Most 51% attacks on smaller networks are made with hashpower rented for a few hours. Flovix watches the two biggest rental markets, NiceHash and MiningRigRentals, and warns when a large share of a network's hashrate is suddenly being rented for its algorithm: before the attacker starts rewriting the chain. It also shows how much of the network's hashrate could be rented right now.
- Hidden chains
- An attacker who mines a secret chain takes their power away from the public one. Blocks start coming slower than the network's own rhythm allows, while each single block still looks ordinary. Flovix counts blocks over hours, not one by one, and warns when too few arrive for too long.
- Hashrate swings
- Blocks suddenly come much faster than they should, or the network's mining power suddenly drops. Large power arriving or a large miner going quiet can come before an attack.
- One pool over half
- A new pool or miner suddenly finds more than half of the recent blocks. Whoever holds most of the mining power can rewrite the chain. Some networks are always mined mostly by one pool: Flovix shows that share on the network's row and warns when someone else takes over.
- Faked block times
- Blocks are stamped with times far from the real one. Miners can bend time to push the difficulty down and mine cheaply. Flovix also catches the quiet version: every block stays just under the limit, but the time stays off for many blocks in a row.
- Delayed finality
- On proof-of-stake networks, blocks stay reversible for much longer than usual because validators are not reaching agreement.
- Missing validators
- On Cosmos networks, a growing share of validators stops signing blocks. Below two thirds of signatures the chain halts.
- Stake in few hands
- On Cosmos networks, Flovix counts how few validators could halt the chain (more than a third of the stake) or confirm anything they like (two thirds). It warns when one validator could halt the chain alone, when two could control it, or when that number drops sharply against the last week: someone is gathering stake fast.
- Final blocks replaced
- On proof-of-stake networks a final block must never be replaced. If it happens, it is a consensus failure or validators with two thirds of the stake acting together, and Flovix raises its highest alert.
- Held-back transactions
- A pool can leave one payment out of block after block while it prepares to spend the same coins elsewhere. Each block alone looks normal. Flovix sees the pattern through the own nodes of trusted observers: transactions that pay a good fee stay waiting while blocks take cheaper ones. Explorers do not show waiting transactions, so this needs an own node.
- Stalls and outages
- No new blocks for too long, or a source stops answering, so you know when the picture itself is incomplete.
Attack cost and deposits
Under each network's hashrate chart on the live page, Flovix shows what one hour of a 51% attack would cost in rented hashpower at today's price, and how much of the network's hashrate is being rented right now.
From the same numbers it suggests how many confirmations to wait for a deposit: enough blocks that rewriting them would cost an attacker more than the deposit is worth. During a threat it says to pause deposits instead. Networks with ChainLocks (Dash, Firo) need only a couple of confirmations once a block is locked, because miners cannot replace locked blocks.
These are estimates to help you decide, not guarantees. An attacker with hashpower of their own does not pay rental prices.
Tested against past attacks
We ran the conditions of real attacks from published reports through today's Flovix code. The chain is a model, because the replaced blocks of those days are gone from explorers; the watcher is the real one.
- Ethereum Classic, 1 August 2020
- 3,693 blocks were rolled back, and two more attacks that month replaced 4,000 and over 7,000 blocks. If the hashpower was rented on NiceHash, Flovix would have warned about 5 minutes after the rental started, about 13 hours before the hidden chain was released. At the release: a deep reorganization alert within one check, 15 seconds.
- Bitcoin Gold, January 2020
- Two reorganizations up to 16 blocks deep, $72,000 double-spent, about $1,200 of rented hashpower per attack. A rental warning about 5 minutes after the rental started, hours before the release; at the release, a reorganization alert within one check.
- Firo, 18 January 2021
- Over 300 blocks were rolled back. Its hashpower was not for sale on NiceHash, so there was no rental to see in advance; independent observers would be the early signal. At the release: a deep reorganization alert within one check. Firo has used ChainLocks since, which stop such reorganizations.
We do not know whether the 2020 attackers rented on NiceHash: Flovix sees rentals only on the markets it watches. Sources: The Block, The Next Web, Firo post-mortem.
How likely it notices
A loud attack, when blocks are replaced, is caught within one check, every time. Quiet attacks are harder: the attacker hides in the ordinary noise of the chain. We measured how often Flovix notices them in a model: 300 runs for every case, a simulated chain and attacker, and the real Flovix detection code. The share is how many runs raised the warning within 6 hours; in brackets, the usual time.
| Quiet attack | Block every 5 min (like Firo) | 2.5 min (like Dash) | 13 s (like Ethereum Classic) |
|---|---|---|---|
| Selfish mining, 30% of the power, explorers only | 46% (3 h) 91% in 24 h | 97% (1.5 h) | not seen* |
| Selfish mining, 30%, with an own node | 70% (2.5 h) 99% in 24 h | 100% (1 h) | 100% (55 min) |
| Selfish mining, 40%, with an own node | 95% (2 h) | 100% (50 min) | 100% (36 min) |
| Hidden chain with half of the power | 13% | 49% (2.5 h) | 100% (30 min) |
| Hidden chain with 70% of the power | 90% (3.3 h) | 100% (1.7 h) | 100% (24 min) |
| A new pool takes 55% of the blocks | 80% (2.9 h) | 89% (2.6 h) | 100% (1 h) |
| A new pool takes 65% of the blocks | 99% (2.3 h) | 100% (1.8 h) | 100% (49 min) |
* On very fast chains, short roll-backs happen dozens of times an hour by themselves, and an explorer polled every few seconds misses most of them. Flovix sees them through an explorer that lists replaced blocks (Blockscout) or through an own node.
What this means: an own node near the chain makes quiet attacks much more visible, and slow chains need more time, because each block carries less information. A small hidden chain on a slow network (a third of the power or less) is not visible before it is released; the moment it is released, the replaced blocks raise an alert at once. Rented hashpower is a separate early signal: about 5 minutes after the rental shows on the market. In the same model, a normal chain gave no false selfish-mining alarms in a day and, for slow blocks and hashrate drops, about one false alarm in 600 days at most.
Protection
Warnings help people act. Protection lets your system act by itself. It is a separate service you turn on for each network in your cabinet, for exchanges, wallets, bridges and payment services that take deposits of the coin. A short overview for your team: Flovix for exchanges.
Automatic pause
Give Flovix the https address of your server. When a threat makes deposits unsafe, Flovix calls it with pause at once. When all is quiet for 10 minutes in a row, it calls with resume. If Flovix loses sight of the network for 5 minutes, it calls with blind, so silence never looks like safety. What to do with a call is up to you: usually, stop crediting new deposits of this coin until resume.
Threats that pause deposits: replaced blocks in the last hour, sources or observers seeing different chains, a new pool over half of the blocks, rented hashpower in bulk, many small roll-backs, lagging finality, bent block times, blocks much slower than usual and a sharp hashrate drop. Stake in few hands and held-back transactions are shown as warnings but do not pause deposits.
POST https://your-server.example/flovix
X-Flovix-Event: pause
X-Flovix-Signature: t=1792000000,v1=5f2c…
{"id": "evt_8c1f…", "event": "pause", "time": 1792000000,
"network": {"id": "3fa9c0d1e2b4", "name": "My coin"},
"deposits": "paused", "reason": "blocks were replaced in the last hour",
"status": "reorg", "height": 812345}
Every call is signed with the secret you get when you save the address. It is shown only once. Check the signature and the time before you trust a call, and ignore calls older than 5 minutes: then nobody can fake or replay one. A failed call is tried again after 30 seconds and after 2 minutes; the cabinet shows the last call and its answer.
# Python
import hashlib, hmac, time
def from_flovix(secret, header, body):
parts = dict(p.split("=", 1) for p in header.split(","))
if abs(time.time() - int(parts["t"])) > 300:
return False
signed = parts["t"].encode() + b"." + body
good = hmac.new(secret.encode(), signed, hashlib.sha256).hexdigest()
return hmac.compare_digest(good, parts["v1"])
// Node.js: use the raw body, exactly as received
const crypto = require("crypto");
function fromFlovix(secret, header, rawBody) {
const p = Object.fromEntries(header.split(",").map(x => x.split("=")));
if (Math.abs(Date.now() / 1000 - Number(p.t)) > 300) return false;
const good = crypto.createHmac("sha256", secret)
.update(p.t + "." + rawBody).digest("hex");
return good.length === p.v1.length &&
crypto.timingSafeEqual(Buffer.from(good), Buffer.from(p.v1));
}
Deposit check
Before crediting a deposit, ask Flovix: give the network, the block the deposit is in, and its value in US dollars.
GET /api/check?network=3fa9c0d1e2b4&height=812340&amount=25000
X-Check-Key: fchk_…
{"decision": "wait", "wait_blocks": 6, "confirmations": 6,
"confirmations_needed": 12, "deposits": "allowed", "status": "normal",
"basis": "rewriting 12 blocks would cost an attacker more than the deposit …"}
- credit
- The deposit has enough confirmations, and there is no threat now.
- wait
- Not yet:
wait_blockssays how many more blocks. The count grows with the amount: rewriting that many blocks should cost an attacker more than the deposit, at today's rental price. Networks with ChainLocks need only a couple. - pause
- A threat is active: do not credit deposits of this coin now.
reasonsays why. - unknown
- Flovix has no fresh data for the network. Hold the deposit until it sees the network again.
For a network in your cabinet, create a check key there and keep it on your server: it opens the answer for that network and nothing else, so your cabinet key never leaves your hands. Networks from the main page can be checked by name without a key, up to 60 times an hour.
Protection follows what Flovix observes. It cannot undo a deposit credited before the pause, and it is one more line of defence, not insurance.
On your phone
Your cabinet installs as an app: no app store, it comes straight from flovixclude.com. When one of your networks is under threat, your phone shows a notification at once. Tap it to see what happened, with the proof. A threat comes with the phone's notification sound and a long vibration, and a serious one stays on the screen until you open it. Notifications that a threat is over come quietly and replace the alarm. If the phone is on silent or Do Not Disturb, allow Flovix notifications there in the phone's settings.
- Android (Chrome, Edge, Firefox, Samsung Internet): open your cabinet, press Install the app or choose “Add to Home screen” in the browser menu, then Turn on notifications here.
- iPhone and iPad (iOS 16.4 or newer): open your cabinet in Safari, tap Share, then “Add to Home Screen”. Open Flovix from the Home Screen, enter your key there once, and turn notifications on. Apple delivers notifications only to installed apps.
- Computer: notifications work in the browser as they are, without installing anything.
A cabinet sends notifications to up to 10 devices; the cabinet shows each of them and when it last got one. Notifications are encrypted on the way: the push services of Google, Apple, Mozilla and Microsoft that carry them cannot read them. The details of a threat open only with your key on that device.
How it decides
- Several independent eyes. Flovix reads each network from public explorers, node APIs and the own nodes of its observers. A single source can be wrong; several sources that disagree are a signal in themselves.
- Tuned to each network. Every network has its own normal: some have steady blocks, some have a noisy hashrate, some see short harmless reorganizations every day. Flovix learns what is normal for each network and sets its limits so that ordinary life of the chain does not raise alarms. New networks spend their first day learning before the statistical warnings switch on. Facts such as reorganizations are reported from the start.
- Calm by design. A warning that is wrong costs trust. Flovix prefers to stay quiet when the data is incomplete, and it tells you when its picture is partial.
- Warnings where you are. Public networks are shown on the live page. Your own networks live in your private cabinet, with their own events and history.
Proof you can check
Every warning on the live page has its own page with the details: which blocks were replaced, which branch appeared, which miner held most of the blocks. Each block links to a public explorer, so you can check it without trusting Flovix.
For Bitcoin-family networks the page also carries the raw block headers. One button checks the mining work of each block right in your browser: the same check a node does, with nothing sent anywhere.
For project teams
If you run or build a coin, open a cabinet. There is no sign-up and no email: a private key opens it.
- Pick a popular network from the list, with sources already filled in: Bitcoin, Litecoin, Ethereum Classic, Ravencoin, Ethereum, BNB Smart Chain, Polygon, Avalanche, Gnosis, Cosmos Hub, Osmosis, Celestia and more.
- Or add any other network with the API address of an explorer (Esplora, Insight, Blockbook, Blockscout) or a node. The address of the explorer's site is often enough: Flovix looks for its API itself, measures the block time and starts watching. It also recognises the coin by its first block, so a network you named your own way still gets the attack cost and the deposit confirmations of its coin.
- Run a node of your network yourself? Connect it with the small Flovix agent: it becomes one more trusted source of your network, private to your cabinet. It sends what your node sees within seconds of a new block or a reorganization, and nothing has to be opened to the internet. It reads Bitcoin-family nodes (Bitcoin, Litecoin, Firo, Dash, Ravencoin and other forks), EVM nodes (Ethereum, Ethereum Classic, BNB Smart Chain, Polygon, Avalanche C-Chain, Gnosis) and Cosmos nodes on CometBFT (Cosmos Hub, Osmosis, Celestia, Akash, Injective).
- No public explorer at all? Add the network as “my own node + Flovix agent”: then your node is its only source. This works for Bitcoin-family and EVM nodes.
- A second independent source lets Flovix catch chain splits, not only reorganizations.
- Trying Flovix on a test or private chain? Tick Test network: alerts start right away instead of after a day of learning the network, so you can stage a reorganization or a stall and see what your team would get.
- Your events, history and hashrate stay private to your cabinet.
- Take deposits of the coin? Turn on Protection: Flovix calls your server to pause deposits during a threat, and answers how many confirmations a deposit needs.
- If you wish, ask observers to watch your network with their own nodes. Its name, status and threat count then appear on the Observers page, and you get a live badge for your website: “watched by Flovix”, with the latest state. Your addresses stay private.
Observers
Anyone can become an eye of the network: run a node of a coin you care about on a laptop, a server or a Raspberry Pi, next to the small Flovix agent. Your node checks every block on its own and reports what it sees. Flovix compares eyes from all over the world.
Every report is checked against the chain itself: a finding counts only with proof that cannot be faked cheaply. More independent eyes in more places make warnings faster and harder to fool.
Independence is counted by views, not by the number of eyes. Eyes whose nodes talk to different neighbours see different parts of the network, even from one address. Eyes that report the same neighbours are one node, even behind different VPNs. If you run several eyes, the agent helps them spread out: when two of your eyes share neighbours, one of them now and then swaps a shared neighbour for another, so each looks at its own part of the network. A chain split raised by observers still needs different owners and different provider networks on each side, in case a whole provider is cut off. Points of a finding are shared equally by the observer who brought it and those who confirmed it: one share per owner, per provider network and per node. Read more on the Observers page.
Privacy and safety
- No email, no name, no password. Your cabinet opens with a key that only you hold; Flovix keeps only a fingerprint of it.
- Flovix only reads public blockchain data. It never needs your wallet, private keys or seed phrase. Nobody from Flovix will ever ask for them.
- The observer agent talks only to your own node and to Flovix. It opens no ports on your router.
- In its records about an eye, Flovix keeps the country and the number of its provider network (for example AS24940), not the IP address. Of the public nodes your node talks to, it keeps only fingerprints and their provider networks.
- When you open the site and use it, Flovix notes the page, your country, the kind of device and the site you came from. No cookies, and your address is not stored.
- A cabinet that nobody opens for two months is deleted with its data.
- Flovix guards itself too. Every 5 minutes the server checks that its code is exactly what was installed, that no new users, SSH keys, scheduled jobs, services or open ports have appeared, and that secrets are closed to other accounts; every login to the server is reported to the operator at once. The service runs under its own account that can read the code but not change it, and the server answers only through Cloudflare. A second machine checks from outside that these self-checks keep running.
What Flovix cannot do
- It cannot stop an attack or reverse a payment. It reports what it observes.
- It sees a network only through its sources. With a single source it can catch reorganizations and stalls, but not a chain split.
- Warnings can arrive with a short delay, and no monitor catches everything. Flovix gives no guarantees; treat it as one more pair of eyes, not as insurance.
Questions
Can I try everything now?
Yes. While the project is young, everything is open to use and test, protection included. Donations are welcome but never required.
Which networks can it watch?
Proof-of-work networks such as Bitcoin and its forks, Litecoin and Ethereum Classic; proof-of-stake EVM networks such as Ethereum, BNB Smart Chain, Polygon, Avalanche and Gnosis; and Cosmos networks such as Cosmos Hub, Osmosis and Celestia. Any Bitcoin-family or EVM network can be connected through your own node and the Flovix agent, and your own Cosmos node can watch a Cosmos network next to its public sources. More kinds of networks are coming.
Does my node have to be open to the internet?
No. Flovix can read your network from a public explorer, and the observer agent sends data out on its own, so nothing has to be opened.
Where do warnings go?
To the live page for public networks, and to your cabinet for your own networks. With the app, your phone gets a notification at once. With Protection, Flovix also calls your own server, so your system can pause deposits by itself. More ways to receive warnings are coming as the project grows.
I found a problem or have an idea.
Write to us. Flovix is young, and feedback from real teams decides what gets built next.