Draft content · Academy Phase 2 preview · education only, not financial advice
Docs
Beginner Blockchain Arfi Chain

What is a Proof of Authority blockchain?

Every blockchain needs a way to agree on the next block. Proof of Authority gives that job to a small group of known, approved validators. Here is how it works, why Arfi uses it, and what you are trusting when you use a PoA network.

Validators take turns sealing blocks. Each block carries the signature of the validator that produced it.
Contents
  1. Why blockchains need consensus
  2. PoW, PoS and PoA compared
  3. How Clique PoA works
  4. Strengths
  5. Trade-offs and risks
  6. How Arfi uses PoA
  7. Closing thoughts

Key takeaways

  • In Proof of Authority, a fixed set of approved, identifiable validators produce blocks in turn. There is no mining race and no staking contest.
  • That makes blocks fast, cheap to produce and predictable — Arfi targets one block every 3 seconds.
  • The trade-off is trust: security depends on the validators being honest and independent. A majority of them could censor transactions.
  • You don’t have to take this on faith: on Arfi, the validator addresses and the blocks each one signed are visible on ArfiScan.

Why blockchains need consensus

A blockchain is a shared ledger kept by many computers, called nodes. Anyone can send a transaction, but only one version of history can be correct. If two nodes disagree about which transactions came first, the same coins could be spent twice.

A consensus mechanism is the set of rules that decides who may add the next block and how every node agrees that block is valid. The main approaches differ in one question: what does a block producer have to prove?

Proof of Work, Proof of Stake and Proof of Authority

In Proof of Work, producers (miners) prove they spent computing power. In Proof of Stake, validators prove they have locked up coins that can be taken away if they cheat. In Proof of Authority, validators prove who they are: only accounts on an approved list may sign blocks.

Proof of WorkProof of StakeProof of Authority
Who produces blocksAnyone with mining hardwareAnyone who stakes enough coinsA list of approved validators
What is at risk if they cheatElectricity and hardware costsTheir staked coinsTheir identity, reputation and validator seat
Block time exampleBitcoin: about 10 minutesEthereum: 12-second slotsArfi: 3 seconds
Energy useHighLowLow
Main trade-offEnergy and hardware concentrationInfluence grows with stakeTrust in a small, known group

Proof of Authority is not new. Ethereum’s former Rinkeby and Görli test networks ran on it, and BNB Smart Chain uses a hybrid called Proof of Staked Authority, where the validator set is chosen with the help of staking.

How Clique Proof of Authority works

Arfi uses Clique, a PoA engine specified in Ethereum improvement proposal EIP-225. Instead of a mining reward, each block contains the validator’s signature in a header field called extraData. Any node can check that signature against the approved list.

Taking turns

Validators — Clique calls them signers — take turns in a fixed order. For block number n with N signers, the signer at position n mod N is in turn. In-turn blocks are marked with a difficulty of 2. If the in-turn signer is offline, another signer may seal the block out of turn after a short random delay, with a difficulty of 1. When two versions of the chain compete, nodes prefer the one with the higher total difficulty, so in-turn blocks win.

One more rule stops any single validator from taking over: a signer may sign only one block in every ⌊N/2⌋ + 1 consecutive blocks. With Arfi’s 3 validators, that means nobody can sign two blocks in a row.

In-turn block · difficulty 2 Out-of-turn block · difficulty 1 Validator offline
#120V1in turn
#121V2in turn
#122V3in turn
#123V1in turn
#124V3V2 offline
#125V1V3 just signed
V1 online
V2 offline from #124
V3 online
Illustrative example with 3 validators. Block #124 belongs to V2, which is offline, so V3 seals it out of turn. Block #125 belongs to V3, but V3 signed the previous block and may not sign two in a row, so V1 seals it. The chain keeps going with 2 of 3 validators online.

Adding and removing validators

The validator list is not fixed forever. Existing signers can propose adding or removing an address, and the change takes effect once more than half of the current signers have voted for it. Every epoch — 30,000 blocks on Arfi, about 25 hours at 3 seconds per block — the chain writes a checkpoint of the current signer list and clears any pending votes.

What “more than half” means in practiceBecause no signer may sign consecutive blocks, a Clique network needs more than half of its validators online to keep producing blocks. With 3 validators, at least 2 must be running.

Strengths of Proof of Authority

  • Speed and predictability. Blocks arrive on a steady schedule because validators don’t compete to find them.
  • Low running cost. No mining hardware or large stake is needed to produce blocks, which helps keep transaction fees low.
  • Accountability. Every block is signed, so anyone can see which validator produced it and spot one that misbehaves.
  • EVM compatibility. Clique runs on the same software family as Ethereum, so existing wallets, contracts and tools work unchanged.

Trade-offs and risks

PoA is fast because it relies on a small group. That is also its main weakness, and it is worth understanding before you hold value on any PoA network.

  • Centralisation. A handful of validators is far fewer than the thousands of independent nodes securing large PoW or PoS networks.
  • Collusion and censorship. If a majority of validators cooperate, they can refuse to include certain transactions or vote other validators out.
  • Operator risk. If several validators are run by the same organisation, on the same cloud provider or in the same jurisdiction, one outage or one legal order can affect the whole network.
  • No instant finality. Clique does not mark blocks as final. Recent blocks can in rare cases be replaced, so exchanges and apps usually wait for several confirmations.
Questions worth asking about any PoA chainHow many validators are there? Who runs them, and are they independent of each other? Is the validator list public? How are new validators approved?

How Arfi uses Proof of Authority

The Arfi network runs Clique with 3 validators and a 3-second block period. Today these values apply to the local development network only; the public testnet and mainnet are not live, and their validator set has not been announced.

You can check the validators yourself. ArfiScan’s Validators page lists each signer address and the recent blocks it sealed, read directly from the chain. Developers can also call the clique_getSigners RPC method on a node that exposes the clique API.

Paying for transactions works as on Ethereum: every transaction uses gas, paid in the native coin, ARFI.

Closing thoughts

Proof of Authority swaps an open competition for a list of trusted, known validators. The result is a network that is fast, inexpensive and easy to audit block by block, at the cost of depending on that small group to behave honestly. Neither model is “better” in every case — what matters is knowing which trade-off you are accepting, and checking how the validators are chosen and who runs them.

Not financial adviceThis article is for education only. It is not a recommendation to buy, sell or hold ARFI or any other asset. Crypto assets are volatile and you can lose all of the money you put in. Do your own research.
Keep learning

Related articles

All articles