Technical Reference

Blockchain in Payments

Working principles, network types, consensus mechanisms, DeFi protocols, stablecoins, and CBDCs — a technical guide to blockchain technology and its integration with modern payment infrastructure.

3–5 sXRPL / Stellar finality
$150B+stablecoin supply
130+CBDC projects globally
1M TPSLightning theoretical max

Blockchain Types

Blockchains differ across four axes: who can participate (permission model), how they agree on state (consensus), how they scale (architecture layers), and how they account for value (UTXO vs account). Each choice involves trade-offs in security, privacy, and throughput.

Permission Model

Permissionless

Public Blockchain

Anyone can join as a node, submit transactions, and participate in consensus (with required stake or hash power). No identity required — access is pseudonymous.

WriteAnyone (with fee)
ReadAnyone
ValidateAnyone
TrustCryptographic / economic
ExamplesBitcoin, Ethereum, Solana

Best for: censorship-resistant payments, open DeFi, global stablecoin rails.

Permissioned (Consortium)

Consortium Blockchain

A fixed set of known organisations operate nodes and govern the network. Transactions may be public or restricted to members. Governance is off-chain by the founding consortium.

WriteAuthorised members
ReadMembers (configurable)
ValidateDesignated validators
TrustConsortium governance
ExamplesR3 Corda, Quorum (JPM), Marco Polo

Best for: interbank settlement, trade finance, wCBDC, supply-chain finance.

Permissioned (Private)

Private Blockchain

A single organisation controls all nodes. Functions as an auditable, append-only distributed database within the firm. No token economics needed — consensus is by internal policy.

WriteSingle org
ReadInternal / selective
ValidateInternal nodes
TrustOperator trust (centralised)
ExamplesHyperledger Fabric (internal), JPM Onyx

Best for: internal audit trails, regulatory reporting, intraday treasury settlement.

Layer Architecture

Layer 3 — Application

Protocols built on top of Layer 2: payment apps, DeFi front-ends, wallets, identity, and compliance services. No consensus of their own — they inherit security from below.

Solana Pay · WalletConnect · ERC-4337 smart wallets · dApps
Layer 2 — Scaling

Off-chain execution inheriting Layer 1 security. Two main types: Payment channels (Lightning — bilateral, near-zero-fee, instant) and Rollups (Optimistic: 7-day challenge; ZK: validity proof, instant finality).

Lightning · Arbitrum · Optimism · zkSync Era · Starknet · Polygon zkEVM
Layer 1 — Base Chain

The root of trust: consensus, block production, native token issuance, and settlement. All L2 proofs and channel settlements are ultimately written here. Security budget = validator rewards + fees.

Bitcoin · Ethereum · Solana · XRPL · Stellar · Avalanche
Layer 0 — Network

The peer-to-peer transport: TCP/IP, devP2P (Ethereum), Bitcoin P2P protocol, libP2P (IPFS/Filecoin). Responsible for block/transaction propagation, peer discovery, and DoS resistance.

devP2P · Bitcoin P2P · libP2P · Cosmos IBC transport

Full Comparison — Production Payment Chains

ChainTypeConsensusTPS (L1)FinalitySmart ContractsPrimary Payment Use
BitcoinPublic PoWPoW SHA-2567~60 minLimited (Tapscript)Store of value, Lightning
EthereumPublic PoSGasper PoS15–30~12.8 minFull EVMDeFi, USDC, tokens
SolanaPublic PoSPoS + PoH65,000~400 mseBPF (Rust)Solana Pay, DeFi
XRPLPublic BFTFed. consensus1,5003–5 sHooks (limited)Cross-border FX
StellarPublic BFTSCP1,0003–5 sSoroban (Rust)Remittance, CBDC
AvalanchePublic PoSSnowman PoS4,500< 2 sEVM + SubnetsUSDC, DeFi, wCBDC
Polygon (PoS)SidechainPoS7,000~2 sEVMLow-cost DeFi, NFT
ArbitrumL2 RollupOptimistic~40,0007 days (challenge)EVMDeFi scaling
zkSync EraL2 ZK RollupZK-SNARK~100,000Minutes (proof gen)EVMPayments, DeFi
H. FabricPermissionedRaft / PBFT3,000ImmediateChaincode (Go/JS)Interbank, wCBDC

Scaling Approach Trade-offs

Payment Channels

Two-party off-chain state. Open channel on-chain (lock funds), exchange signed state updates off-chain, close to settle. Lightning routes payments across multiple channels via HTLCs.

Sub-second settlementNear-zero feesLiquidity managementRequires online

Optimistic Rollup

Executes txs off-chain, posts compressed data to L1. Assumes validity unless challenged within 7 days. Lower proving cost, full EVM support.

Full EVM compat.Low fees7-day withdrawalFraud proof delay

ZK Rollup

Executes off-chain, generates a zero-knowledge validity proof posted to L1. Proof guarantees correctness — no challenge period. Fast withdrawal after proof verification.

Cryptographic securityFast withdrawalProof generation timeComplex prover infra

Sidechain

Independent chain with own consensus, connected to mainnet via a two-way peg (bridge). Can have different trade-offs (faster, cheaper). Security independent of mainnet.

Flexible designHigh throughputBridge riskWeaker security